delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/26/05:42:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 26 Jun 2009 11:42:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with git for SMB mounted repo's: works on cygwin 1.5, does not work on cygwin 1.7.
Message-ID: <20090626094211.GH30864@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3d6808890906251744x2b76f520g827b589f3ce35cf9 AT mail DOT gmail DOT com> <3d6808890906251750j70990b0bvdefe666da5f51b2b AT mail DOT gmail DOT com> <3d6808890906251756u29703d30x5974a6a209c44f4 AT mail DOT gmail DOT com> <3d6808890906251800p5cad2ae1n12378b2138fc565 AT mail DOT gmail DOT com> <3d6808890906251825q30dca7fhbe34ee1e4294ad13 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <3d6808890906251825q30dca7fhbe34ee1e4294ad13@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019