X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; q= dns; s=default; b=TELuBIgC0yuru33Dw3MCJsf+h3/12gnAiOwACbdmXazml7 YxxxJii+KRM2vZ6igV61V+80BPCJkpGrm2GPW/ulXPrs2WKN40WxhfQ7oiwmoxZD bad+PyaZ9y9YaFNij+kYplHdC2zXdZk4aRK3MLLVUoHIqPh9vuQDfTZspCwV0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; s= default; bh=1FFMA55Gal6nFe8jqV9APLOtuNo=; b=DKrp/3AZrN8NI+ECqX8i kyGcqnR6+azdSdse46aEkKijDNBGQIUJ8H0pTlpGTnbfjtMsg6DHO+9vVzu26ywm ayrgGjh1mX+IXXB9kGuIg9CHBf+hfrRM2WNCgtWPoRx5bhy53uWPN4mAVH+cyt5p ko9PI2UV/QD7zwCxtrsuCug= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Thu, 30 Apr 2015 18:53:57 +1000 (EST) 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 DOT 275101 DOT 1430383452664 DOT JavaMail DOT zimbra AT ceos DOT com DOT 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 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 AT 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 AT 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 AT johndesktop:/cygdrive/l/tasks/cygwin_samba_uid_gid_handling ; gcc test_access.c #: john AT 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 AT 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