From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68915 invoked by alias); 30 Apr 2015 08:54:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 68906 invoked by uid 89); 30 Apr 2015 08:54:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: zimbra-new.ceos.com.au Received: from mail3.ceos.com.au (HELO zimbra-new.ceos.com.au) (203.214.65.134) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 30 Apr 2015 08:54:01 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra-new.ceos.com.au (Postfix) with ESMTP id E7041C294DD for ; Thu, 30 Apr 2015 18:53:57 +1000 (AEST) Received: from zimbra-new.ceos.com.au ([127.0.0.1]) by localhost (zimbra-new.ceos.com.au [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id xz-AeOWvj7hU for ; Thu, 30 Apr 2015 18:53:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by zimbra-new.ceos.com.au (Postfix) with ESMTP id A1897C294DC for ; Thu, 30 Apr 2015 18:53:57 +1000 (AEST) Received: from zimbra-new.ceos.com.au ([127.0.0.1]) by localhost (zimbra-new.ceos.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CAHmzA4EDcB8 for ; Thu, 30 Apr 2015 18:53:57 +1000 (AEST) Received: from zimbra-new.ceos.com.au (zimbra-new.ceos.com.au [172.17.2.3]) by zimbra-new.ceos.com.au (Postfix) with ESMTP id 87242C294DD for ; Thu, 30 Apr 2015 18:53:57 +1000 (AEST) Date: Thu, 30 Apr 2015 08:54:00 -0000 From: John Orr To: cygwin Message-ID: <1632094864.275135.1430384037529.JavaMail.zimbra@ceos.com.au> In-Reply-To: <397346277.275101.1430383452664.JavaMail.zimbra@ceos.com.au> References: <397346277.275101.1430383452664.JavaMail.zimbra@ceos.com.au> Subject: Re: Trouble with Git 2.1.x pushing to repos over Samba MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00646.txt.bz2 Whoops - my test function was testing the .git directory instead of .git/objects (as git does) - though .git has the same issue on execute permissions: #: john@johndesktop:/cygdrive/l/tasks/cygwin_samba_uid_gid_handling ; ls -ld /cygdrive/l/.git drwxrwxrwx 1 john Unix_Group+1000 0 Apr 22 13:37 /cygdrive/l/.git #: john@johndesktop:/cygdrive/l/tasks/cygwin_samba_uid_gid_handling ; cat test_access.c #include #include int main() { char* path = "/cygdrive/l/.git/objects"; printf("access(%s, R_OK) returned %d\n", path, access(path, R_OK)); printf("access(%s, W_OK) returned %d\n", path, access(path, W_OK)); printf("access(%s, X_OK) returned %d\n", path, access(path, X_OK)); } #: john@johndesktop:/cygdrive/l/tasks/cygwin_samba_uid_gid_handling ; gcc test_access.c #: john@johndesktop:/cygdrive/l/tasks/cygwin_samba_uid_gid_handling ; a.exe access(/cygdrive/l/.git/objects, R_OK) returned 0 access(/cygdrive/l/.git/objects, W_OK) returned 0 access(/cygdrive/l/.git/objects, X_OK) returned -1 #: john@johndesktop:/cygdrive/l/tasks/cygwin_samba_uid_gid_handling ; ls -ld /cygdrive/l/.git/objects drwxr-xr-x 1 john Unix_Group+1000 0 Nov 13 14:13 /cygdrive/l/.git/objects -- 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