git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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."
Previous: Justin Collum
Message 11 of 11 in “git status resets permissions on index file -- Ubuntu 12.04 64b”
  1. Justin CollumAug 8, 2013
  2. Stefan BellerAug 8, 2013
  3. Andrew RuderAug 8, 2013
  4. Justin CollumAug 8, 2013
  5. Andrew RuderAug 8, 2013
  6. Kyle J. McKayAug 8, 2013
  7. Justin CollumAug 8, 2013
  8. Andreas SchwabAug 9, 2013
  9. Matthieu MoyAug 9, 2013
  10. Justin CollumAug 9, 2013
  11. Justin CollumAug 9, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.