Problem with git for SMB mounted repo's: works on cygwin 1.5, does not work on cygwin 1.7.

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jun 26 11:51:00 GMT 2009


On Jun 26 03:25, Tim O'Callaghan wrote:
> /cygdrive/w/wigit>git status
> fatal: Not a git repository (or any of the parent directories): .git
> /cygdrive/w/wigit>ls -l
> total 7168
>   0 drwx------ 3 ???????? ????????     0 Jun 26 02:38 ./
>   0 drwxrwxrwx 1 ???????? ????????     0 Jun 26 02:22 ../
>   0 drwx------ 1 ???????? ????????     0 Jun 26 02:38 .git/

This looks like sort of a permission problem.  Cygwin doesn't recognize
the owner and group SIDs in the remote file's ACLs.  Usually this only
occurs on a Samba share.  The most easy way to check is to mount the
drive with the "noacl" mount flag as documented in
http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table and see if it
works then.

> /cygdrive/c/home/tim/tmp>./GetVolInfo w:/
> Device Type        : 6
> Characteristics    : 10
> Object Id          : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Extended Info      : Not Samba
>                      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>                      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>                      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> Volume Name        : <www>
> Serial Number      : 667418949
> Max Filenamelength : 255
> Filesystemname     : <NTFS>
> Flags              : 2b
>   FILE_CASE_SENSITIVE_SEARCH  : TRUE
>   FILE_CASE_PRESERVED_NAMES   : TRUE
>   FILE_UNICODE_ON_DISK        : FALSE
>   FILE_PERSISTENT_ACLS        : TRUE
>   FILE_FILE_COMPRESSION       : FALSE
>   FILE_VOLUME_QUOTAS          : TRUE
>   FILE_SUPPORTS_SPARSE_FILES  : FALSE
>   FILE_SUPPORTS_REPARSE_POINTS: FALSE
>   FILE_SUPPORTS_REMOTE_STORAGE: FALSE
>   FILE_VOLUME_IS_COMPRESSED   : FALSE
>   FILE_SUPPORTS_OBJECT_IDS    : FALSE
>   FILE_SUPPORTS_ENCRYPTION    : FALSE
>   FILE_NAMED_STREAMS          : FALSE
>   FILE_READ_ONLY_VOLUME       : FALSE
>   FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
>   FILE_SUPPORTS_TRANSACTIONS  : FALSE

This looks very much like a really, *really* old Samba, something older
than version 3.2.  It might be helpful if you could figure that out and
tell us, even if it's just for the records for now.

Other than that, please send an *attached* cygcheck output per
http://cygwin.com/problems.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list