threads / discuss / 33381

trouble on windows network share

Subject: trouble on windows network share

## tl;dr

17 messages between Apr 4, 2013 and Dec 3, 2013.

replies: 16people: 5as markdown or json

Pyeron, Jason J CTR (US)· Apr 4, 2013, 15:01 UTC · lore
I am having trouble when the .git folder is on a network share, given the below where should I start on my debugging?

$ git --version git version 1.7.9 $ uname -a CYGWIN_NT-6.1-WOW64 LNDLE642FX7ZTR1 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin

jason.pyeron@localhost //server/share/dir/subdir $ git init test Initialized empty Git repository in //server/share/dir/subdir/test/.git/

jason.pyeron@localhost //server/share/dir/subdir $ cd test/

jason.pyeron@localhost //server/share/dir/subdir/test $ echo the quick brown fox jumped over the lazy dogs > test.txt

jason.pyeron@localhost //server/share/dir/subdir/test $ git add test.txt

jason.pyeron@localhost //server/share/dir/subdir/test $ git commit -m test error: unable to find 8b7323820a21ebd1360e27262b3c61283c266c23 fatal: 8b7323820a21ebd1360e27262b3c61283c266c23 is not a valid object

jason.pyeron@localhost //server/share/dir/subdir/test $ find .git/ .git/ .git/COMMIT_EDITMSG .git/config .git/description .git/HEAD .git/hooks .git/hooks/applypatch-msg.sample .git/hooks/commit-msg.sample .git/hooks/post-update.sample .git/hooks/pre-applypatch.sample .git/hooks/pre-commit.sample .git/hooks/pre-rebase.sample .git/hooks/prepare-commit-msg.sample .git/hooks/update.sample .git/index .git/info .git/info/exclude .git/objects .git/objects/8b .git/objects/8b/7323820a21ebd1360e27262b3c61283c266c23 .git/objects/ca .git/objects/ca/630d704614c35b81d504cb5e87eaec8a78a3b3 .git/objects/info .git/objects/pack .git/refs .git/refs/heads .git/refs/tags

$ stat .git/objects/8b/7323820a21ebd1360e27262b3c61283c266c23
  File: `.git/objects/8b/7323820a21ebd1360e27262b3c61283c266c23'
  Size: 53              Blocks: 4          IO Block: 65536  regular file
Device: 6e2c3656h/1848391254d   Inode: 1125899911803044  Links: 1
Access: (0444/-r--r--r--)  Uid: (2246260/jason.pyeron)   Gid: (10513/Domain Users)
Access: 2013-04-04 10:57:43.458720700 -0400
Modify: 2013-04-04 10:57:43.505522500 -0400
Change: 2013-04-04 10:57:43.536723700 -0400
 Birth: 2013-04-04 10:57:43.458720700 -0400
Jeff King· Apr 4, 2013, 15:51 UTC · re: Pyeron, Jason J CTR (US) · lore

Re: trouble on windows network share

On Thu, Apr 04, 2013 at 03:01:36PM +0000, Pyeron, Jason J CTR (US) wrote:
Show 9 quoted lines
> I am having trouble when the .git folder is on a network share, given the below where should I start on my debugging?
> [...]
> jason.pyeron@localhost //server/share/dir/subdir/test
> $ git add test.txt
> 
> jason.pyeron@localhost //server/share/dir/subdir/test
> $ git commit -m test
> error: unable to find 8b7323820a21ebd1360e27262b3c61283c266c23
> fatal: 8b7323820a21ebd1360e27262b3c61283c266c23 is not a valid object
Hmm. That message probably comes from:
  static int sha1_loose_object_info(const unsigned char *sha1, unsigned long *sizep)
  {
  [...]
          map = map_sha1_file(sha1, &mapsize);
          if (!map)
                  return error("unable to find %s", sha1_to_hex(sha1));

So we have found the object and know that it is loose, but then mmap-ing it fails. My guess is that your system does not support mmap across network shares (whether this is an OS issue or a cygwin limitation, I don't know). You could confirm it by running your "git commit" under strace, which I expect would show mmap returning -ENODEV or similar.

You can work around it by compiling git with NO_MMAP=1.

You might also try msysgit rather than cygwin, which seems to have its own win32 mmap compatibility layer.

Finally, I suspect we could include our emulate-mmap-with-pread compatibility wrapper all the time, and drop back to it automatically at run-time when we see ENODEV or a similar error return from mmap.

-Peff
Pyeron, Jason J CTR (US)· Apr 5, 2013, 12:44 UTC · re: Jeff King · lore

RE: trouble on windows network share

[strace attachment has been removed, email being resent]
It looks like there is a race condition going on, especially since the location and message changes.
Could it be the file creation, file read, apply file security is happening when it should be file create, apply security, file read?
Looking at trace line: 1088001 (full trace attached)
1181 1087049 [main] git 9320 symlink_info::check: 0x0 = NtCreateFile (\??\UNC\server\share\dir1\dir2\test\.git\objects\68)
   84 1087133 [main] git 9320 symlink_info::check: not a symlink
  733 1087866 [main] git 9320 symlink_info::check: 0 = symlink.check(\\server\share\dir1\dir2\test\.git\objects\68, 0x288280) (0x4022)
   62 1087928 [main] git 9320 path_conv::check: this->path(\\server\share\dir1\dir2\test\.git\objects\68\38761d549cf76033d2e9faf5954e62839eb25d), has_acls(1)
   31 1087959 [main] git 9320 build_fh_pc: fh 0x61274CA0, dev 0xC3
   21 1087980 [main] git 9320 __set_errno: int fhandler_base::fhaccess(int, bool):367 setting errno 2
   21 1088001 [main] git 9320 fhandler_base::fhaccess: returning -1
   19 1088020 [main] git 9320 access: returning -1
  164 1088184 [main] git 9320 fhandler_pty_slave::write: pty0, write(50A474, 7)
   18 1088202 [main] git 9320 fhandler_pty_slave::write: (657): pty output_mutex (0xC0): waiting -1 ms
   20 1088222 [main] git 9320 fhandler_pty_slave::write: (657): pty output_mutex: acquired
error: 
   21 1088243 [main] git 9320 fhandler_pty_slave::write: (672): pty output_mutex(0xC0) released
   18 1088261 [main] git 9320 write: 7 = write(2, 0x50A474, 7)
   36 1088297 [main] git 9320 fhandler_pty_slave::write: pty0, write(288680, 102)
   18 1088315 [main] git 9320 fhandler_pty_slave::write: (657): pty output_mutex (0xC0): waiting -1 ms
   18 1088333 [main] git 9320 fhandler_pty_slave::write: (657): pty output_mutex: acquired
Trying to write ref refs/heads/master with nonexistent object 6838761d549cf76033d2e9faf5954e62839eb25d
Show 50 quoted lines
> -----Original Message-----
> From: Jeff King
> Sent: Thursday, April 04, 2013 11:51 AM
> 
> On Thu, Apr 04, 2013 at 03:01:36PM +0000, Pyeron, Jason J CTR (US)
> wrote:
> 
> > I am having trouble when the .git folder is on a network share, given
> the below where should I start on my debugging?
> > [...]
> > jason.pyeron@localhost //server/share/dir/subdir/test
> > $ git add test.txt
> >
> > jason.pyeron@localhost //server/share/dir/subdir/test
> > $ git commit -m test
> > error: unable to find 8b7323820a21ebd1360e27262b3c61283c266c23
> > fatal: 8b7323820a21ebd1360e27262b3c61283c266c23 is not a valid object
> 
> Hmm. That message probably comes from:
> 
>   static int sha1_loose_object_info(const unsigned char *sha1, unsigned
> long *sizep)
>   {
>   [...]
>           map = map_sha1_file(sha1, &mapsize);
>           if (!map)
>                   return error("unable to find %s", sha1_to_hex(sha1));
> 
> So we have found the object and know that it is loose, but then mmap-
> ing
> it fails. My guess is that your system does not support mmap across
> network shares (whether this is an OS issue or a cygwin limitation, I
> don't know). You could confirm it by running your "git commit" under
> strace, which I expect would show mmap returning -ENODEV or similar.
> 
> You can work around it by compiling git with NO_MMAP=1.
> 
> You might also try msysgit rather than cygwin, which seems to have its
> own win32 mmap compatibility layer.
> 
> Finally, I suspect we could include our emulate-mmap-with-pread
> compatibility wrapper all the time, and drop back to it automatically
> at
> run-time when we see ENODEV or a similar error return from mmap.
> 
> -Peff
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jeff King· Apr 11, 2013, 04:56 UTC · re: Pyeron, Jason J CTR (US) · lore

Re: trouble on windows network share

On Fri, Apr 05, 2013 at 12:44:48PM +0000, Pyeron, Jason J CTR (US) wrote:
> [strace attachment has been removed, email being resent]

I had trouble finding anything interesting in either this, or in the full strace you sent me off-list, mostly because the syscalls are foreign to me (I had hoped to see an strace of the actual Unix-level syscalls, but I guess that is not how cygwin's strace works).

What I really wanted to see was the result of the open, fstat, and mmap calls. The patch below adds some debugging statements that might help.

> It looks like there is a race condition going on, especially since the
> location and message changes.

If it's a race condition between the write and the subsequent read in the same process, then it would be solved by looking at the object later. Does "git cat-file -p 6838761d549cf76033d2e9faf5954e62839eb25d" work, or is the object forever inaccessible?

---
diff --git a/sha1_file.c b/sha1_file.c
index 0ed2398..d40dd9f 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1331,6 +1331,9 @@ void *map_sha1_file(const unsigned char *sha1, unsigned long *size)
 	int fd;
 
 	fd = open_sha1_file(sha1);
+	if (fd < 0)
+		error("unable to open sha1 file for %s: %s",
+		      sha1_to_hex(sha1), strerror(errno));
 	map = NULL;
 	if (fd >= 0) {
 		struct stat st;
@@ -1343,7 +1346,13 @@ void *map_sha1_file(const unsigned char *sha1, unsigned long *size)
 				return NULL;
 			}
 			map = xmmap(NULL, *size, PROT_READ, MAP_PRIVATE, fd, 0);
+			if (!map)
+				error("unable to mmap %s: %s",
+				      sha1_to_hex(sha1), strerror(errno));
 		}
+		else
+			error("unable to fstat %s: %s", sha1_to_hex(sha1),
+			      strerror(errno));
 		close(fd);
 	}
 	return map;
deg· May 2, 2013, 21:26 UTC · re: Pyeron, Jason J CTR (US) · lore

Re: trouble on windows network share

I'm having this same problem.

Here's one more clue that may help: The problem is dependent on the exact type of NAS drive. I moved from a Buffalo LS-X2.0, which worked fine, to a WD "My Book Live" (MBL), which has this problem.

I don't know much more yet about why the MBL is failing, but am still poking around, and am happy to try tests for anyone who wants to debug this.

-- View this message in context: http://git.661346.n2.nabble.com/trouble-on-windows-network-share-tp7581547p7584800.html Sent from the git mailing list archive at Nabble.com.

Thomas Rast· May 3, 2013, 09:27 UTC · re: deg · lore

Re: trouble on windows network share

deg <deg@degel.com> writes:
Show 9 quoted lines
> I'm having this same problem.
>
> Here's one more clue that may help: The problem is dependent on the exact
> type of NAS drive.
> I moved from a Buffalo LS-X2.0, which worked fine, to a WD "My Book Live"
> (MBL), which has this problem.
>
> I don't know much more yet about why the MBL is failing, but am still poking
> around, and am happy to try tests for anyone who wants to debug this.

Can you reproduce the problem under Linux (with the NAS mounted using CIFS), or just Windows?

If it works under Linux, you could record strace logs, e.g.
  echo foo >test.txt
  strace -f -o trace.1 git add test.txt
  strace -f -o trace.2 git commit -m test
etc.

This would massively help debugging. Judging from the OP's log, the filesystem is just broken and can't make up its mind about what files exist, but in the strace log we could see exactly where it gives weird answers (or that it doesn't, and thus get clues to any possible git bugs).

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
David Goldfarb· May 4, 2013, 23:23 UTC · re: Thomas Rast · lore

RE: trouble on windows network share

Git works correctly under Linux (Ubuntu 12.04; git 1.7.9.5).  I've attached the strace outputs. (Note: for reasons that are probably irrelevant, I needed to run the commands sudo'd. Shout back if this is an issue).
Under Windows 7, Cygwin git 1.7.9, commit fails:
  U:\foo>git commit -m "added foo2"
  error: unable to find 0b89efdeef245ed6a0a7eacc5c578629a141f856
  fatal: 0b89efdeef245ed6a0a7eacc5c578629a141f856 is not a valid object
For what it's worth, note that the file does exist.
  U:\foo>ls -l .git/objects/0b
  total 1024
  -rwxrw-r-- 1 ???????? ???????? 74 May  5 01:15 89efdeef245ed6a0a7eacc5c578629a141f856
(I'm not sure why the permissions are trashed. Seems to be a Cygwin thing, or maybe my Cygwin config. The "??????" also  appears on local files, and I believe also with files on the old Buffalo drive, so I don't think it is relevant to the problem).  Just in case, here's the same dir, as seen from the Ubuntu VM:
  deg@ubuntu:/mnt/users/foo$ ls -l .git/objects/0b
  total 64
  -rwxr-xr-x 0 root root 74 May  5 01:15 89efdeef245ed6a0a7eacc5c578629a141f856
Again, note that there is some user permissions lossage here. I don't know enough about Linux mount or CIFS, and apparently did the mount in a way that everything seems to appear to be stuck owned by root. (same problem I hinted at above). Hope this is not relevant to the problem.
Here's how the same directory looks, when I'm ssh'd into the NAS box itself:
   CentralPark:/shares/Users/foo# ls -l .git/objects/0b
  total 64
  -rwxrw-r-- 1 deg share 74 May  5 01:15 89efdeef245ed6a0a7eacc5c578629a141f856
In any event, the symptoms don't seem to be a permissions problem, so all this extra info is probably just a red herring, I hope.
David
-----Original Message-----
From: Thomas Rast [mailto:trast@inf.ethz.ch] 
Sent: Friday, May 03, 2013 12:27 PM
To: David Goldfarb
Cc: git@vger.kernel.org
Subject: Re: trouble on windows network share
deg <deg@degel.com> writes:
Show 9 quoted lines
> I'm having this same problem.
>
> Here's one more clue that may help: The problem is dependent on the 
> exact type of NAS drive.
> I moved from a Buffalo LS-X2.0, which worked fine, to a WD "My Book Live"
> (MBL), which has this problem.
>
> I don't know much more yet about why the MBL is failing, but am still 
> poking around, and am happy to try tests for anyone who wants to debug this.
Can you reproduce the problem under Linux (with the NAS mounted using CIFS), or just Windows?
If it works under Linux, you could record strace logs, e.g.
  echo foo >test.txt
  strace -f -o trace.1 git add test.txt
  strace -f -o trace.2 git commit -m test
etc.
This would massively help debugging.  Judging from the OP's log, the filesystem is just broken and can't make up its mind about what files exist, but in the strace log we could see exactly where it gives weird answers (or that it doesn't, and thus get clues to any possible git bugs).

-- Thomas Rast trast@{inf,student}.ethz.ch

Thomas Rast· May 6, 2013, 09:42 UTC · re: David Goldfarb · lore

Re: trouble on windows network share

David Goldfarb <deg@degel.com> writes:
Show 27 quoted lines
> Git works correctly under Linux (Ubuntu 12.04; git 1.7.9.5).  I've attached the strace outputs. (Note: for reasons that are probably irrelevant, I needed to run the commands sudo'd. Shout back if this is an issue).
>
> Under Windows 7, Cygwin git 1.7.9, commit fails:
>   U:\foo>git commit -m "added foo2"
>   error: unable to find 0b89efdeef245ed6a0a7eacc5c578629a141f856
>   fatal: 0b89efdeef245ed6a0a7eacc5c578629a141f856 is not a valid object
>
> For what it's worth, note that the file does exist.
>   U:\foo>ls -l .git/objects/0b
>   total 1024
>   -rwxrw-r-- 1 ???????? ???????? 74 May  5 01:15 89efdeef245ed6a0a7eacc5c578629a141f856
>
> (I'm not sure why the permissions are trashed. Seems to be a Cygwin thing, or maybe my Cygwin config. The "??????" also  appears on local files, and I believe also with files on the old Buffalo drive, so I don't think it is relevant to the problem).  Just in case, here's the same dir, as seen from the Ubuntu VM:
>
>   deg@ubuntu:/mnt/users/foo$ ls -l .git/objects/0b
>   total 64
>   -rwxr-xr-x 0 root root 74 May  5 01:15 89efdeef245ed6a0a7eacc5c578629a141f856
>
> Again, note that there is some user permissions lossage here. I don't know enough about Linux mount or CIFS, and apparently did the mount in a way that everything seems to appear to be stuck owned by root. (same problem I hinted at above). Hope this is not relevant to the problem.
>
> Here's how the same directory looks, when I'm ssh'd into the NAS box itself:
>
>    CentralPark:/shares/Users/foo# ls -l .git/objects/0b
>   total 64
>   -rwxrw-r-- 1 deg share 74 May  5 01:15 89efdeef245ed6a0a7eacc5c578629a141f856
>
> In any event, the symptoms don't seem to be a permissions problem, so all this extra info is probably just a red herring, I hope.

Hrm. What about what Jeff already asked of the OP (and AFAICS never got a reply)?

} If it's a race condition between the write and the subsequent read in } the same process, then it would be solved by looking at the object } later. Does "git cat-file -p 6838761d549cf76033d2e9faf5954e62839eb25d" } work, or is the object forever inaccessible?

In your case: git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
David Goldfarb· May 6, 2013, 09:53 UTC · re: Thomas Rast · lore

RE: trouble on windows network share

Looks like it works.
>From the windows machine:
    U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
    100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
    100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
    U:\foo>
Double-checking that nothing was fixed or changed when I earlier committed the file from Linux, here's a second test:
    U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
    100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
    100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
    
    U:\foo>git status
    # On branch master
    # Untracked files:
    #   (use "git add <file>..." to include in what will be committed)
    #
    #       trace1
    #       trace2
    nothing added to commit but untracked files present (use "git add" to track)
    
    U:\foo>git add trace1
    
    U:\foo>git commit trace1 -m "testing"
    error: unable to find cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
    fatal: cecae5b4c87ea21aef513fcfcd5c27fe87e0536f is not a valid object
    
    U:\foo>git cat-file -p cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
    100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
    100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
    100644 blob 19102815663d23f8b75a47e7a01965dcdc96468c    test.txt
    100644 blob c9009b02950964cf1d5281125e6e2f647dd9dc16    trace1
   U:\foo>
David
-----Original Message-----
From: Thomas Rast [mailto:trast@inf.ethz.ch] 
Sent: Monday, May 06, 2013 12:42 PM
To: David Goldfarb
Cc: git@vger.kernel.org
Subject: Re: trouble on windows network share
David Goldfarb <deg@degel.com> writes:
Show 31 quoted lines
> Git works correctly under Linux (Ubuntu 12.04; git 1.7.9.5).  I've attached the strace outputs. (Note: for reasons that are probably irrelevant, I needed to run the commands sudo'd. Shout back if this is an issue).
>
> Under Windows 7, Cygwin git 1.7.9, commit fails:
>   U:\foo>git commit -m "added foo2"
>   error: unable to find 0b89efdeef245ed6a0a7eacc5c578629a141f856
>   fatal: 0b89efdeef245ed6a0a7eacc5c578629a141f856 is not a valid 
> object
>
> For what it's worth, note that the file does exist.
>   U:\foo>ls -l .git/objects/0b
>   total 1024
>   -rwxrw-r-- 1 ???????? ???????? 74 May  5 01:15 
> 89efdeef245ed6a0a7eacc5c578629a141f856
>
> (I'm not sure why the permissions are trashed. Seems to be a Cygwin thing, or maybe my Cygwin config. The "??????" also  appears on local files, and I believe also with files on the old Buffalo drive, so I don't think it is relevant to the problem).  Just in case, here's the same dir, as seen from the Ubuntu VM:
>
>   deg@ubuntu:/mnt/users/foo$ ls -l .git/objects/0b
>   total 64
>   -rwxr-xr-x 0 root root 74 May  5 01:15 
> 89efdeef245ed6a0a7eacc5c578629a141f856
>
> Again, note that there is some user permissions lossage here. I don't know enough about Linux mount or CIFS, and apparently did the mount in a way that everything seems to appear to be stuck owned by root. (same problem I hinted at above). Hope this is not relevant to the problem.
>
> Here's how the same directory looks, when I'm ssh'd into the NAS box itself:
>
>    CentralPark:/shares/Users/foo# ls -l .git/objects/0b
>   total 64
>   -rwxrw-r-- 1 deg share 74 May  5 01:15 
> 89efdeef245ed6a0a7eacc5c578629a141f856
>
> In any event, the symptoms don't seem to be a permissions problem, so all this extra info is probably just a red herring, I hope.
Hrm.  What about what Jeff already asked of the OP (and AFAICS never got a reply)?

} If it's a race condition between the write and the subsequent read in } the same process, then it would be solved by looking at the object } later. Does "git cat-file -p 6838761d549cf76033d2e9faf5954e62839eb25d" } work, or is the object forever inaccessible?

In your case: git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856

-- Thomas Rast trast@{inf,student}.ethz.ch

Thomas Rast· May 6, 2013, 10:08 UTC · re: David Goldfarb · lore

Re: trouble on windows network share

David Goldfarb <deg@degel.com> writes:
Show 29 quoted lines
> Looks like it works.
>
> From the windows machine:
>     U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>
>     U:\foo>
>
>
> Double-checking that nothing was fixed or changed when I earlier committed the file from Linux, here's a second test:
>
>
>     U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>     
>     U:\foo>git status
>     # On branch master
>     # Untracked files:
>     #   (use "git add <file>..." to include in what will be committed)
>     #
>     #       trace1
>     #       trace2
>     nothing added to commit but untracked files present (use "git add" to track)
>     
>     U:\foo>git add trace1
>     
>     U:\foo>git commit trace1 -m "testing"

Note that specifying 'trace1' here is redundant, since you already added it and had no other staged changes. Perhaps you can re-run a test like this without the extra argument for comparison. That would tell us if it matters that the write and read happen in the same process.

Show 8 quoted lines
>     error: unable to find cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
>     fatal: cecae5b4c87ea21aef513fcfcd5c27fe87e0536f is not a valid object
>     
>     U:\foo>git cat-file -p cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>     100644 blob 19102815663d23f8b75a47e7a01965dcdc96468c    test.txt
>     100644 blob c9009b02950964cf1d5281125e6e2f647dd9dc16    trace1
I'm inclined to just say that your FS is crazy.

What's unsatisfactory is that we already have a bunch of crazy FS workarounds in move_temp_to_file(), which is one obvious candidate for what is going on here. So this wouldn't be something new; just another craziness to work around.

For example, you could test the theory that rename() has something to do with it by patching this into move_temp_to_file():

diff --git i/sha1_file.c w/sha1_file.c
index 67e815b..22af015 100644
--- i/sha1_file.c
+++ w/sha1_file.c
@@ -2635,6 +2635,10 @@ int move_temp_to_file(const char *tmpfile, const char *filename)
 		/* FIXME!!! Collision check here ? */
 	}
 
+	if (access(filename, R_OK) < 0)
+		return error("access(%s, R_OK) failed immediately after rename(): %s",
+			     filename, strerror(errno));
+
 out:
 	if (adjust_shared_perm(filename))
 		return error("unable to set permission to '%s'", filename);
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
David Goldfarb· May 6, 2013, 10:13 UTC · re: Thomas Rast · lore

RE: trouble on windows network share

Ok.  Continuing in the same shell:
    U:\foo>git status
    # On branch master
    # Changes to be committed:
    #   (use "git reset HEAD <file>..." to unstage)
    #
    #       new file:   trace1
    #
    # Untracked files:
    #   (use "git add <file>..." to include in what will be committed)
    #
    #       trace2
    U:\foo>git commit -m "test b"
    error: Trying to write ref refs/heads/master with nonexistent object 428dafc292b8396fc7b3c7f692dc9dfe1196a40a
    fatal: cannot update HEAD ref
    U:\foo>dir /s *a40a
     Volume in drive U is Users
     Volume Serial Number is FC97-3DA5
     Directory of U:\foo\.git\objects\42
    05/06/2013  12:26 PM               152 8dafc292b8396fc7b3c7f692dc9dfe1196a40a
                   1 File(s)            152 bytes
         Total Files Listed:
                   1 File(s)            152 bytes
                   0 Dir(s)  1,594,477,576,192 bytes free
    U:\foo>date
    The current date is: Mon 05/06/2013
    Enter the new date: (mm-dd-yy)
    U:\foo>time
    The current time is: 13:10:49.55
    Enter the new time:
    U:\foo>git cat-file -p 428dafc292b8396fc7b3c7f692dc9dfe1196a40a
    tree cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
    parent f6a0de35d12a3b58f12bf1af4ff629b8b004ad82
    author David Goldfarb <deg@degel.com> 1367834997 +0300
    committer David Goldfarb <deg@degel.com> 1367834997 +0300
    test b
    U:\foo>U:\foo>
David
-----Original Message-----
From: Thomas Rast [mailto:trast@inf.ethz.ch] 
Sent: Monday, May 06, 2013 1:08 PM
To: David Goldfarb
Cc: git@vger.kernel.org
Subject: Re: trouble on windows network share
David Goldfarb <deg@degel.com> writes:
Show 30 quoted lines
> Looks like it works.
>
> From the windows machine:
>     U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>
>     U:\foo>
>
>
> Double-checking that nothing was fixed or changed when I earlier committed the file from Linux, here's a second test:
>
>
>     U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>     
>     U:\foo>git status
>     # On branch master
>     # Untracked files:
>     #   (use "git add <file>..." to include in what will be committed)
>     #
>     #       trace1
>     #       trace2
>     nothing added to commit but untracked files present (use "git add" 
> to track)
>     
>     U:\foo>git add trace1
>     
>     U:\foo>git commit trace1 -m "testing"
Note that specifying 'trace1' here is redundant, since you already added it and had no other staged changes.  Perhaps you can re-run a test like this without the extra argument for comparison.  That would tell us if it matters that the write and read happen in the same process.
Show 9 quoted lines
>     error: unable to find cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
>     fatal: cecae5b4c87ea21aef513fcfcd5c27fe87e0536f is not a valid 
> object
>     
>     U:\foo>git cat-file -p cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>     100644 blob 19102815663d23f8b75a47e7a01965dcdc96468c    test.txt
>     100644 blob c9009b02950964cf1d5281125e6e2f647dd9dc16    trace1
I'm inclined to just say that your FS is crazy.
What's unsatisfactory is that we already have a bunch of crazy FS workarounds in move_temp_to_file(), which is one obvious candidate for what is going on here.  So this wouldn't be something new; just another craziness to work around.
For example, you could test the theory that rename() has something to do with it by patching this into move_temp_to_file():
diff --git i/sha1_file.c w/sha1_file.c
index 67e815b..22af015 100644
--- i/sha1_file.c
+++ w/sha1_file.c
@@ -2635,6 +2635,10 @@ int move_temp_to_file(const char *tmpfile, const char *filename)
 		/* FIXME!!! Collision check here ? */
 	}
 
+	if (access(filename, R_OK) < 0)
+		return error("access(%s, R_OK) failed immediately after rename(): %s",
+			     filename, strerror(errno));
+
 out:
 	if (adjust_shared_perm(filename))
 		return error("unable to set permission to '%s'", filename);


--
Thomas Rast
trast@{inf,student}.ethz.ch
David Goldfarb· May 6, 2013, 10:46 UTC · re: Thomas Rast · lore

RE: trouble on windows network share

Oops, I earlier missed the second half of your message, where you suggested that I patch move_temp_to_file(). Sorry, I don't have the tool-chain or knowledge to recompile git into this win/Cygwin environment.

What I can do, realistically, is:
- Follow exact instructions.
- (with some obvious hesitation) run executables that you send me.
- Continue whatever tests you want with my existing git.
Note, too, that:
- This is occurring on a standard, off-the-shelf, NAS box, the Western Digital "My Book Live"
- I would guess that the "craziness" has more to do with the box's network stack than with its FS, since it behaves fine when mounted on Linux, but not on Windows.
David
-----Original Message-----
From: David Goldfarb 
Sent: Monday, May 06, 2013 1:13 PM
To: 'Thomas Rast'
Cc: git@vger.kernel.org
Subject: RE: trouble on windows network share
Ok.  Continuing in the same shell:
    U:\foo>git status
    # On branch master
    # Changes to be committed:
    #   (use "git reset HEAD <file>..." to unstage)
    #
    #       new file:   trace1
    #
    # Untracked files:
    #   (use "git add <file>..." to include in what will be committed)
    #
    #       trace2
    U:\foo>git commit -m "test b"
    error: Trying to write ref refs/heads/master with nonexistent object 428dafc292b8396fc7b3c7f692dc9dfe1196a40a
    fatal: cannot update HEAD ref
    U:\foo>dir /s *a40a
     Volume in drive U is Users
     Volume Serial Number is FC97-3DA5
     Directory of U:\foo\.git\objects\42
    05/06/2013  12:26 PM               152 8dafc292b8396fc7b3c7f692dc9dfe1196a40a
                   1 File(s)            152 bytes
         Total Files Listed:
                   1 File(s)            152 bytes
                   0 Dir(s)  1,594,477,576,192 bytes free
    U:\foo>date
    The current date is: Mon 05/06/2013
    Enter the new date: (mm-dd-yy)
    U:\foo>time
    The current time is: 13:10:49.55
    Enter the new time:
    U:\foo>git cat-file -p 428dafc292b8396fc7b3c7f692dc9dfe1196a40a
    tree cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
    parent f6a0de35d12a3b58f12bf1af4ff629b8b004ad82
    author David Goldfarb <deg@degel.com> 1367834997 +0300
    committer David Goldfarb <deg@degel.com> 1367834997 +0300
    test b
    U:\foo>U:\foo>
David
-----Original Message-----
From: Thomas Rast [mailto:trast@inf.ethz.ch]
Sent: Monday, May 06, 2013 1:08 PM
To: David Goldfarb
Cc: git@vger.kernel.org
Subject: Re: trouble on windows network share
David Goldfarb <deg@degel.com> writes:
Show 30 quoted lines
> Looks like it works.
>
> From the windows machine:
>     U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>
>     U:\foo>
>
>
> Double-checking that nothing was fixed or changed when I earlier committed the file from Linux, here's a second test:
>
>
>     U:\foo>git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>     
>     U:\foo>git status
>     # On branch master
>     # Untracked files:
>     #   (use "git add <file>..." to include in what will be committed)
>     #
>     #       trace1
>     #       trace2
>     nothing added to commit but untracked files present (use "git add" 
> to track)
>     
>     U:\foo>git add trace1
>     
>     U:\foo>git commit trace1 -m "testing"
Note that specifying 'trace1' here is redundant, since you already added it and had no other staged changes.  Perhaps you can re-run a test like this without the extra argument for comparison.  That would tell us if it matters that the write and read happen in the same process.
Show 9 quoted lines
>     error: unable to find cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
>     fatal: cecae5b4c87ea21aef513fcfcd5c27fe87e0536f is not a valid 
> object
>     
>     U:\foo>git cat-file -p cecae5b4c87ea21aef513fcfcd5c27fe87e0536f
>     100644 blob b02e7c87fe376a353ea4f014bdb3f5200a946b37    foo1
>     100644 blob 2cbf64f759a62392ad9dfe1fb9c2cdb175876014    foo2
>     100644 blob 19102815663d23f8b75a47e7a01965dcdc96468c    test.txt
>     100644 blob c9009b02950964cf1d5281125e6e2f647dd9dc16    trace1
I'm inclined to just say that your FS is crazy.
What's unsatisfactory is that we already have a bunch of crazy FS workarounds in move_temp_to_file(), which is one obvious candidate for what is going on here.  So this wouldn't be something new; just another craziness to work around.
For example, you could test the theory that rename() has something to do with it by patching this into move_temp_to_file():
diff --git i/sha1_file.c w/sha1_file.c
index 67e815b..22af015 100644
--- i/sha1_file.c
+++ w/sha1_file.c
@@ -2635,6 +2635,10 @@ int move_temp_to_file(const char *tmpfile, const char *filename)
 		/* FIXME!!! Collision check here ? */
 	}
 
+	if (access(filename, R_OK) < 0)
+		return error("access(%s, R_OK) failed immediately after rename(): %s",
+			     filename, strerror(errno));
+
 out:
 	if (adjust_shared_perm(filename))
 		return error("unable to set permission to '%s'", filename);


--
Thomas Rast
trast@{inf,student}.ethz.ch
Pyeron, Jason J CTR (US)· May 6, 2013, 13:10 UTC · re: Thomas Rast · lore

RE: trouble on windows network share

Show 53 quoted lines
> -----Original Message-----
> From: Thomas Rast
> Sent: Monday, May 06, 2013 5:42 AM
> 
> David Goldfarb <deg@degel.com> writes:
> 
> > Git works correctly under Linux (Ubuntu 12.04; git 1.7.9.5).  I've
> attached the strace outputs. (Note: for reasons that are probably
> irrelevant, I needed to run the commands sudo'd. Shout back if this is
> an issue).
> >
> > Under Windows 7, Cygwin git 1.7.9, commit fails:
> >   U:\foo>git commit -m "added foo2"
> >   error: unable to find 0b89efdeef245ed6a0a7eacc5c578629a141f856
> >   fatal: 0b89efdeef245ed6a0a7eacc5c578629a141f856 is not a valid
> object
> >
> > For what it's worth, note that the file does exist.
> >   U:\foo>ls -l .git/objects/0b
> >   total 1024
> >   -rwxrw-r-- 1 ???????? ???????? 74 May  5 01:15
> 89efdeef245ed6a0a7eacc5c578629a141f856
> >
> > (I'm not sure why the permissions are trashed. Seems to be a Cygwin
> thing, or maybe my Cygwin config. The "??????" also  appears on local
> files, and I believe also with files on the old Buffalo drive, so I
> don't think it is relevant to the problem).  Just in case, here's the
> same dir, as seen from the Ubuntu VM:
> >
> >   deg@ubuntu:/mnt/users/foo$ ls -l .git/objects/0b
> >   total 64
> >   -rwxr-xr-x 0 root root 74 May  5 01:15
> 89efdeef245ed6a0a7eacc5c578629a141f856
> >
> > Again, note that there is some user permissions lossage here. I don't
> know enough about Linux mount or CIFS, and apparently did the mount in
> a way that everything seems to appear to be stuck owned by root. (same
> problem I hinted at above). Hope this is not relevant to the problem.
> >
> > Here's how the same directory looks, when I'm ssh'd into the NAS box
> itself:
> >
> >    CentralPark:/shares/Users/foo# ls -l .git/objects/0b
> >   total 64
> >   -rwxrw-r-- 1 deg share 74 May  5 01:15
> 89efdeef245ed6a0a7eacc5c578629a141f856
> >
> > In any event, the symptoms don't seem to be a permissions problem, so
> all this extra info is probably just a red herring, I hope.
> 
> Hrm.  What about what Jeff already asked of the OP (and AFAICS never
> got
> a reply)?
If referring to me, then yes but it was too big for the list.
Show 8 quoted lines
> 
> } If it's a race condition between the write and the subsequent read in
> } the same process, then it would be solved by looking at the object
> } later. Does "git cat-file -p
> 6838761d549cf76033d2e9faf5954e62839eb25d"
> } work, or is the object forever inaccessible?
> 
> In your case: git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
David Goldfarb· May 8, 2013, 09:37 UTC · re: Pyeron, Jason J CTR (US) · lore

RE: trouble on windows network share

Here's one more data point. It suggests that the problem is due to either Cygwin or possibly Git 1.7.9.
My Ubuntu box is actually a VM, hosted by my windows box in VMWare Player.

So, I tried using the VMWare shared folder feature, to mount the Windows U: drive (which is physically on the WD NAS box) as /mnt/hgfs/Host-U on Ubuntu. Then, I tried linux on the Ubuntu box, fully expecting it to fail as it trampolined through Windows connection to the NAS box).

But, it worked fine.
So, at this point, it became likely that the problem is tied to the different version of Git that I have on the two machines:
- On Ubuntu, git version 1.7.10.4
- On Windows, Cygwin's git version 1.7.9 (which appears to be the latest version for Cygwin).
So, I installed Git on Windows from http://git-scm.com/download/win. Git version 1.8.1.msysgit.1
Triumph: Git on windows works with this git but, on the same file and repo, fails with Cygwin git.
So, either something relevant changed in Git 1.7.10, or (more likely) this is a Cygwin issue.
Jason, are you also using Cygwin git?  Are you also using a WD NAS?
David
-----Original Message-----
From: Pyeron, Jason J CTR (US) [mailto:jason.j.pyeron.ctr@mail.mil] 
Sent: Monday, May 06, 2013 4:11 PM
To: Thomas Rast; David Goldfarb
Cc: git@vger.kernel.org
Subject: RE: trouble on windows network share
Show 53 quoted lines
> -----Original Message-----
> From: Thomas Rast
> Sent: Monday, May 06, 2013 5:42 AM
> 
> David Goldfarb <deg@degel.com> writes:
> 
> > Git works correctly under Linux (Ubuntu 12.04; git 1.7.9.5).  I've
> attached the strace outputs. (Note: for reasons that are probably
> irrelevant, I needed to run the commands sudo'd. Shout back if this is
> an issue).
> >
> > Under Windows 7, Cygwin git 1.7.9, commit fails:
> >   U:\foo>git commit -m "added foo2"
> >   error: unable to find 0b89efdeef245ed6a0a7eacc5c578629a141f856
> >   fatal: 0b89efdeef245ed6a0a7eacc5c578629a141f856 is not a valid
> object
> >
> > For what it's worth, note that the file does exist.
> >   U:\foo>ls -l .git/objects/0b
> >   total 1024
> >   -rwxrw-r-- 1 ???????? ???????? 74 May  5 01:15
> 89efdeef245ed6a0a7eacc5c578629a141f856
> >
> > (I'm not sure why the permissions are trashed. Seems to be a Cygwin
> thing, or maybe my Cygwin config. The "??????" also  appears on local
> files, and I believe also with files on the old Buffalo drive, so I
> don't think it is relevant to the problem).  Just in case, here's the
> same dir, as seen from the Ubuntu VM:
> >
> >   deg@ubuntu:/mnt/users/foo$ ls -l .git/objects/0b
> >   total 64
> >   -rwxr-xr-x 0 root root 74 May  5 01:15
> 89efdeef245ed6a0a7eacc5c578629a141f856
> >
> > Again, note that there is some user permissions lossage here. I don't
> know enough about Linux mount or CIFS, and apparently did the mount in
> a way that everything seems to appear to be stuck owned by root. (same
> problem I hinted at above). Hope this is not relevant to the problem.
> >
> > Here's how the same directory looks, when I'm ssh'd into the NAS box
> itself:
> >
> >    CentralPark:/shares/Users/foo# ls -l .git/objects/0b
> >   total 64
> >   -rwxrw-r-- 1 deg share 74 May  5 01:15
> 89efdeef245ed6a0a7eacc5c578629a141f856
> >
> > In any event, the symptoms don't seem to be a permissions problem, so
> all this extra info is probably just a red herring, I hope.
> 
> Hrm.  What about what Jeff already asked of the OP (and AFAICS never
> got
> a reply)?
If referring to me, then yes but it was too big for the list.
Show 8 quoted lines
> 
> } If it's a race condition between the write and the subsequent read in
> } the same process, then it would be solved by looking at the object
> } later. Does "git cat-file -p
> 6838761d549cf76033d2e9faf5954e62839eb25d"
> } work, or is the object forever inaccessible?
> 
> In your case: git cat-file -p 0b89efdeef245ed6a0a7eacc5c578629a141f856
Pyeron, Jason J CTR (US)· May 9, 2013, 13:52 UTC · re: David Goldfarb · lore

RE: trouble on windows network share

Show 33 quoted lines
> -----Original Message-----
> From: David Goldfarb 
> Sent: Wednesday, May 08, 2013 5:38 AM
> 
> Here's one more data point. It suggests that the problem is due to
> either Cygwin or possibly Git 1.7.9.
> 
> 
> My Ubuntu box is actually a VM, hosted by my windows box in VMWare
> Player.
> 
> So, I tried using the VMWare shared folder feature, to mount the
> Windows U: drive (which is physically on the WD NAS box) as
> /mnt/hgfs/Host-U on Ubuntu.
> Then, I tried linux on the Ubuntu box, fully expecting it to fail as it
> trampolined through Windows connection to the NAS box).
> 
> But, it worked fine.
> 
> So, at this point, it became likely that the problem is tied to the
> different version of Git that I have on the two machines:
> - On Ubuntu, git version 1.7.10.4
> - On Windows, Cygwin's git version 1.7.9 (which appears to be the
> latest version for Cygwin).
> 
> So, I installed Git on Windows from http://git-scm.com/download/win.
> Git version 1.8.1.msysgit.1
> 
> Triumph: Git on windows works with this git but, on the same file and
> repo, fails with Cygwin git.
> 
> So, either something relevant changed in Git 1.7.10, or (more likely)
> this is a Cygwin issue.
Likely.
> 
> 
> Jason, are you also using Cygwin git?  Are you also using a WD NAS?
Cygwin, yes. I am going to spend some time (likely this weekend) to get the current version to compile on Cygwin.
WD NAS, no. Windows Server 2008 with NTFS file system on internal raid.
Show 83 quoted lines
> 
> David
> 
> -----Original Message-----
> From: Pyeron, Jason J CTR (US) [mailto:jason.j.pyeron.ctr@mail.mil]
> Sent: Monday, May 06, 2013 4:11 PM
> To: Thomas Rast; David Goldfarb
> Cc: git@vger.kernel.org
> Subject: RE: trouble on windows network share
> 
> > -----Original Message-----
> > From: Thomas Rast
> > Sent: Monday, May 06, 2013 5:42 AM
> >
> > David Goldfarb <deg@degel.com> writes:
> >
> > > Git works correctly under Linux (Ubuntu 12.04; git 1.7.9.5).  I've
> > attached the strace outputs. (Note: for reasons that are probably
> > irrelevant, I needed to run the commands sudo'd. Shout back if this
> is
> > an issue).
> > >
> > > Under Windows 7, Cygwin git 1.7.9, commit fails:
> > >   U:\foo>git commit -m "added foo2"
> > >   error: unable to find 0b89efdeef245ed6a0a7eacc5c578629a141f856
> > >   fatal: 0b89efdeef245ed6a0a7eacc5c578629a141f856 is not a valid
> > object
> > >
> > > For what it's worth, note that the file does exist.
> > >   U:\foo>ls -l .git/objects/0b
> > >   total 1024
> > >   -rwxrw-r-- 1 ???????? ???????? 74 May  5 01:15
> > 89efdeef245ed6a0a7eacc5c578629a141f856
> > >
> > > (I'm not sure why the permissions are trashed. Seems to be a Cygwin
> > thing, or maybe my Cygwin config. The "??????" also  appears on local
> > files, and I believe also with files on the old Buffalo drive, so I
> > don't think it is relevant to the problem).  Just in case, here's the
> > same dir, as seen from the Ubuntu VM:
> > >
> > >   deg@ubuntu:/mnt/users/foo$ ls -l .git/objects/0b
> > >   total 64
> > >   -rwxr-xr-x 0 root root 74 May  5 01:15
> > 89efdeef245ed6a0a7eacc5c578629a141f856
> > >
> > > Again, note that there is some user permissions lossage here. I
> don't
> > know enough about Linux mount or CIFS, and apparently did the mount
> in
> > a way that everything seems to appear to be stuck owned by root.
> (same
> > problem I hinted at above). Hope this is not relevant to the problem.
> > >
> > > Here's how the same directory looks, when I'm ssh'd into the NAS
> box
> > itself:
> > >
> > >    CentralPark:/shares/Users/foo# ls -l .git/objects/0b
> > >   total 64
> > >   -rwxrw-r-- 1 deg share 74 May  5 01:15
> > 89efdeef245ed6a0a7eacc5c578629a141f856
> > >
> > > In any event, the symptoms don't seem to be a permissions problem,
> so
> > all this extra info is probably just a red herring, I hope.
> >
> > Hrm.  What about what Jeff already asked of the OP (and AFAICS never
> > got
> > a reply)?
> 
> If referring to me, then yes but it was too big for the list.
> 
> >
> > } If it's a race condition between the write and the subsequent read
> in
> > } the same process, then it would be solved by looking at the object
> > } later. Does "git cat-file -p
> > 6838761d549cf76033d2e9faf5954e62839eb25d"
> > } work, or is the object forever inaccessible?
> >
> > In your case: git cat-file -p
> 0b89efdeef245ed6a0a7eacc5c578629a141f856
> 
Phil Wiffen· Dec 3, 2013, 16:48 UTC · re: Pyeron, Jason J CTR (US) · lore

Re: trouble on windows network share

Did anyone ever get to the bottom of this? I'm seeing this exact issue on both NetApp storage systems with SMB 2.x enabled and also on Windows 7 and Server 2008 R2 shares (which also use SMB 2.x). If we use SMB 1.x (such as XP), things work fine.

Pyeron, Jason J CTR (US)· Dec 3, 2013, 17:30 UTC · re: Phil Wiffen · lore

RE: trouble on windows network share

That is a new detail (SMB 1 vs. 2) that can be used to debug this further.
Show 21 quoted lines
> -----Original Message-----
> From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On
> Behalf Of Phil Wiffen
> Sent: Tuesday, December 03, 2013 11:48 AM
> To: git@vger.kernel.org
> Subject: Re: trouble on windows network share
> 
> Did anyone ever get to the bottom of this? I'm seeing this exact issue
> on
> both NetApp storage systems with SMB 2.x enabled and also on Windows 7
> and
> Server 2008 R2 shares (which also use SMB 2.x). If we use SMB 1.x (such
> as
> XP), things work fine.
> 
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

← back to recent threads