Re: git status resets permissions on index file -- Ubuntu 12.04 64b
- From
Justin Collum <jcollum@gmail.com>
- Date
- Aug 9, 2013, 19:29 UTC
- Message-ID
- <CACO0oR7Kx0auNV6GRwqr-OdtnrCW21LxiMFrNUDRGRJN+P6ebg@mail.gmail.com>
- In-Reply-To
- <CACO0oR4_+=6iimO4U0rt2JuhfxrX1CkjWR5iMkt=+EuxscmBMg@mail.gmail.com>
I've looked into this a bit and I think this is a bug in Webstorm. Webstorm saves files a lot without you actually hitting save, so that's why I didn't put 2 and 2 together. It appears that any file change in Webstorm is screwing up the permissions on git's index -- but only in 64b Ubuntu, it wasn't happening in 32b.
On Fri, Aug 9, 2013 at 10:00 AM, Justin Collum <jcollum@gmail.com> wrote:
Show 19 quoted lines
>> That doesn't make sense. If you are the owner of the file, why do you need sudo??? > > I've just never seen a chmod command without sudo. I assumed it was > needed. Is this relevant to the bug that I'm seeing? > > On Fri, Aug 9, 2013 at 5:40 AM, Andreas Schwab <schwab@linux-m68k.org> wrote: >> 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??? >> >> Andreas. >> >> -- >> Andreas Schwab, schwab@linux-m68k.org >> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 >> "And now for something completely different."