Issue 130: Cannot fetch to mapped network drives (Samba)
http://code.google.com/p/msysgit/issues/detail?id=130
New issue report by sschuberth:
What steps will reproduce the problem?
1. Map a Samba network share to a drive letter in Windows Explorer.
2. Create a test folder on the mapped network drive and open a Git Bash
prompt for it.
3. Run
$ git init
$ git remote add origin ssh://<user>@<repository>
$ git fetch origin
4. The fetch will fail with an error similar to
---8<---
remote: Generating pack...←[K
remote: Counting objects: 91475←[K
remote: Done counting 178702 objects.←[K
remote: Deltifying 178702 objects...←[K
remote: 100% (178702/178702) done←[K
remote: Total 178702 (delta 129264), reused 173537 (delta 125146)←[K
Receiving objects: 100% (178702/178702), 131.01 MiB | 337 KiB/s, done.
Resolving deltas: 100% (129264/129264), done.
error: unable to write sha1 filename
.git/objects/pack/pack-ba35a374a817e8279a3d86bff2ea68ed356164e2.pack:
Permission denied
fatal: cannot store pack file
fatal: index-pack failed
---8<---
I've checked that the file
.git/objects/pack/pack-ba35a374a817e8279a3d86bff2ea68ed356164e2.pack
can both be touched and edited (using vim) manually, so it does not seem to
be a permission problem. I've also verified that I have full access rights
to the mapped network drive. Fetching the same repository to a local
directory works fine.
What is the expected output? What do you see instead?
I would expect the fetch to finish successfully without errors. Instead,
I'm getting the above "Permission denied" error.
What version of the product are you using? On what operating system?
Windows XP Prof. SP3 32-bit.
Please provide any additional information below.
The server providing the network share is running SUSE Linux 9.3 (i586)
with Samba 3.0.13-1.1. The exported file system is XFS.
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings