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

Re: Cygwin git and windows network shares

From
CFChristopher Faylor <me@cgf.cx>
Date
Jun 17, 2006, 01:23 UTC
Message-ID
<20060617012338.GB23924@trixie.casa.cgf.cx>
In-Reply-To
<17555.21858.292000.494454@lapjr.intranet.kiel.bmiag.de>
On Sat, Jun 17, 2006 at 03:05:38AM +0200, Juergen Ruehle wrote:
Show 26 quoted lines
>Christopher Faylor writes:
> > I also meant to ask if there was an i is nonzero after the call to the
> > rename() above?  If so, what was the errno?  If not, it is a huge
> > problem if rename is reporting that it is able to rename a file but is
> > not actually doing it.
>
>After some testing the conclusion is that it's not lying, but only
>failing in interesting ways on my (and seemingly also Niklas') system:
>
> - rename on NTFS succeeds (and returns 0)
>
> - rename on FAT32 succeeds if target does not exist (and returns 0)
>
>   rename on FAT32 fails if target exists with EACCESS
>
>   (manual mv on commandline works)
>
> - rename on a network share always hangs for a while and then fails
>   with EBUSY (even if target does not exist)
>
>   (share served by XP, tested both NTFS and FAT32)
>
>   (manual mv still works)
>
>Various combinations of server, ntsec, and smbntsec didn't seem to
>make a difference; /etc/{passwd,group} have been freshly created.

Thanks. I really appreciate the details. I've passed them on to the last person to touch the rename code.

cgf
Previous: Juergen Ruehle
Message 6 of 6 in “Cygwin git and windows network shares”
  1. Niklas FrykholmJun 16, 2006
  2. Juergen RuehleJun 16, 2006
  3. Christopher FaylorJun 16, 2006
  4. Christopher FaylorJun 16, 2006
  5. Juergen RuehleJun 17, 2006
  6. Christopher FaylorJun 17, 2006

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.