From: Justin Collum Date: Fri, 09 Aug 2013 19:29:54 GMT Subject: Re: git status resets permissions on index file -- Ubuntu 12.04 64b Message-ID: In-Reply-To: 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 wrote: >> 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 wrote: >> Justin Collum 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."