{"thread":{"id":"46576","subject":"Error: Permition denied. git should not try to access root account if I work under common user","startedAt":"2017-08-12T13:29:31Z","lastAt":"2017-08-12T15:59:18Z","messageCount":2,"participants":["KES","brian m. carlson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"326215","messageId":"273951502544128@web54o.yandex.ru","threadId":"46576","inReplyTo":null,"subject":"Error: Permition denied. git should not try to access root account if I work under common user","fromName":"KES","fromEmail":"kes-kes@yandex.ru","sentAt":"2017-08-12T13:22:08Z","receivedAt":"2017-08-12T13:29:31Z","isPatch":false,"sender":{"key":"kes-kes@yandex.ru","avatar":null},"body":"Hi. \n\nWhen I use `git pull -v --rebase` command under user I got this error:\n\nPOST git-upload-pack (947 bytes)\nPOST git-upload-pack (452 bytes)\nremote: warning: unable to access '/root/.config/git/attributes': Permission denied\nremote: Counting objects: 4, done.\nremote: Compressing objects: 100% (4/4), done.\nremote: Total 4 (delta 3), reused 0 (delta 0)\nUnpacking objects: 100% (4/4), done.\nFrom https://xxxx/gitdev/main\n   b446c31..f275d62  master     -> origin/master\n = [up to date]      buy_dev    -> origin/buy_dev\nCreated autostash: 48d1246\nHEAD is now at 3ecd306 Do not guard by default\nChanges from b446c313d9a9caccfeb34ef2c521c4ac03c24c6e to f275d62585211806e8e0b2350bbf4f0f3025da79:\n conf/app.staging.conf | 1 +\n 1 file changed, 1 insertion(+)\nFirst, rewinding head to replay your work on top of it...\nApplying: BUGFIX: Do not fall if we are creating new database\nApplying: Do not pull data from server. Do not count all rows\nApplying: Do not guard by default\nApplied autostash.\n\n\ngit should not try to access root account if I work under common user\n"},{"id":"326224","messageId":"20170812155908.yadkqwfjrxsgmljp@genre.crustytoothpaste.net","threadId":"46576","inReplyTo":"273951502544128@web54o.yandex.ru","subject":"Re: Error: Permition denied. git should not try to access root account if I work under common user","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-08-12T15:59:08Z","receivedAt":"2017-08-12T15:59:18Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Sat, Aug 12, 2017 at 04:22:08PM +0300, KES wrote:\n> Hi.\n> \n> When I use `git pull -v --rebase` command under user I got this error:\n> \n> POST git-upload-pack (947 bytes)\n> POST git-upload-pack (452 bytes)\n> remote: warning: unable to access '/root/.config/git/attributes': Permission denied\n> remote: Counting objects: 4, done.\n> remote: Compressing objects: 100% (4/4), done.\n> remote: Total 4 (delta 3), reused 0 (delta 0)\n\nThese messages are from the remote side (the machine you're pulling\nfrom).  Something there is telling git that /root is the proper home\ndirectory, and it's trying to read that file.\n\nYou should find out whoever is running that remote server and tell them\nthat their server is misconfigured.\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\nhttps://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: https://keybase.io/bk2204\n"}]}