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

[BUG] Bad msysgit/egit interaction over dotfiles

From
YDYann Dirson <ydirson@linagora.com>
Date
Dec 8, 2009, 13:28 UTC
Message-ID
<20091208132857.GB5425@linagora.com>

Some devs here started to use egit on windows, and since egit is not complete yet, occasionally^Wregularly use msysgit for rebase/stash/you-name-it.

This revealed a strange problem that took some time figuring out, where eclipse refused to write to .classpath or .project, just saying "could not write", while other apps had no problem editing the same files.

In the end, the problem is that the dotfiles had the "hidden" bit set, and that for some reason eclipse does not allow to write to hidden files - and that the one (re)setting the "hidden" bit over and over again is msysgit, whenever it checkouts such a dotfile - surely to emulate the unix behaviour of hiding dotfiles by default.

I'm not sure who's at fault here - namely, I can't see any valid reason for eclipse to refuse such writes, but I am not sure it is a good reason for msysgit would set the hidden bit either. In either case, even if only for the short term, I think msysgit should ensure that this bit does not get set (possibly circumventing any magic msys would do behind its back).

Best regards,
-- 
Yann
Next: Erik Faye-Lund
Message 1 of 9 in “[BUG] Bad msysgit/egit interaction over dotfiles”
  1. Yann DirsonDec 8, 2009
  2. Erik Faye-LundDec 8, 2009
  3. Ferry HubertsDec 8, 2009
  4. Erik Faye-LundDec 8, 2009
  5. Yann DirsonDec 8, 2009
  6. Marius Storm-OlsenDec 9, 2009
  7. Yann DirsonDec 10, 2009
  8. Erik Faye-LundDec 14, 2009
  9. Johannes SchindelinDec 14, 2009

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.