git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Error: Permition denied. git should not try to access root account if I work under common user

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Aug 12, 2017, 15:59 UTC
Message-ID
<20170812155908.yadkqwfjrxsgmljp@genre.crustytoothpaste.net>
In-Reply-To
<273951502544128@web54o.yandex.ru>
On Sat, Aug 12, 2017 at 04:22:08PM +0300, KES wrote:
Show 10 quoted lines
> Hi.
> 
> When I use `git pull -v --rebase` command under user I got this error:
> 
> POST git-upload-pack (947 bytes)
> POST git-upload-pack (452 bytes)
> remote: warning: unable to access '/root/.config/git/attributes': Permission denied
> remote: Counting objects: 4, done.
> remote: Compressing objects: 100% (4/4), done.
> remote: Total 4 (delta 3), reused 0 (delta 0)

These messages are from the remote side (the machine you're pulling from). Something there is telling git that /root is the proper home directory, and it's trying to read that file.

You should find out whoever is running that remote server and tell them that their server is misconfigured.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
Previous: KES
Message 2 of 2 in “Error: Permition denied. git should not try to access root account if I work under common user”
  1. KESAug 12, 2017
  2. brian m. carlsonAug 12, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.