Re: git status resets permissions on index file -- Ubuntu 12.04 64b
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Aug 9, 2013, 12:58 UTC
- Message-ID
- <vpqa9krja1f.fsf@anie.imag.fr>
- In-Reply-To
- <8761vf3uml.fsf@igel.home>
Andreas Schwab <schwab@linux-m68k.org> writes:
Show 6 quoted lines
> Justin Collum <jcollum@gmail.com> writes: > >> 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/