Re: Error: Permition denied. git should not try to access root account if I work under common user
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