git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Error: Permition denied. git should not try to access root account if I work under common user
@ 2017-08-12 13:22 KES
  2017-08-12 15:59 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: KES @ 2017-08-12 13:22 UTC (permalink / raw)
  To: git

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)
Unpacking objects: 100% (4/4), done.
From https://xxxx/gitdev/main
   b446c31..f275d62  master     -> origin/master
 = [up to date]      buy_dev    -> origin/buy_dev
Created autostash: 48d1246
HEAD is now at 3ecd306 Do not guard by default
Changes from b446c313d9a9caccfeb34ef2c521c4ac03c24c6e to f275d62585211806e8e0b2350bbf4f0f3025da79:
 conf/app.staging.conf | 1 +
 1 file changed, 1 insertion(+)
First, rewinding head to replay your work on top of it...
Applying: BUGFIX: Do not fall if we are creating new database
Applying: Do not pull data from server. Do not count all rows
Applying: Do not guard by default
Applied autostash.


git should not try to access root account if I work under common user

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error: Permition denied. git should not try to access root account if I work under common user
  2017-08-12 13:22 Error: Permition denied. git should not try to access root account if I work under common user KES
@ 2017-08-12 15:59 ` brian m. carlson
  0 siblings, 0 replies; 2+ messages in thread
From: brian m. carlson @ 2017-08-12 15:59 UTC (permalink / raw)
  To: KES; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

On Sat, Aug 12, 2017 at 04:22:08PM +0300, KES wrote:
> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 868 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-12 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-12 13:22 Error: Permition denied. git should not try to access root account if I work under common user KES
2017-08-12 15:59 ` brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).