Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git status resets permissions on index file -- Ubuntu 12.04 64b

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:58:22

Andreas Schwab [off-list ref] writes:
Justin Collum [off-list ref] writes:
quoted
     sudo chmod 644 ./.git/index
That doesn't make sense.  If you are the owner of the file, why do you
need sudo???
I suspect that some over-use of "sudo" resulted in files or directories
belonging to root. What does

  find . -user 0

say?

(As a developer, you should never need sudo. You should only need in as
an administrator of your machine.)

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help