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:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=Ev0 4x7hbHCbAd1Juf+zhseXLvAhVLz6+E7VLps5SQHxFF0M+uhfmffGL91Tfn66JKdb wz53MRZjKAPPdWFw2VGXNbxxFgQxnzH4CX0HJwaflEGUkd6R0gEAWZpDMX3kRrFN QIDafgugxejbsSBWhvWf/kq2ir+LP3d+Uhncl3v4= 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:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=2nxkZeurM 6YNsBl8tfDMs8PiMlQ=; b=M2w/65hv08DjKNes1ld5Aa3I1FrPIHk6tOu7WD5rD +GfUoDRWGyFPeKB+ooAetDu5ruaeHEVRr1LuqdFRihBi1yYkg5OjxMkd3/PMEkBI ZxrOfRWCutvlHmikKFL26x4zRxLHjNC+XHFoapiH2Cn6eHAT3xjP8ZRZ3KRyQadM Mg= 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.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,TBC,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: kautler.net X-Received: by 10.55.20.132 with SMTP id 4mr12248366qku.104.1430141132675; Mon, 27 Apr 2015 06:25:32 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Bj=C3=B6rn_Kautler?= Date: Mon, 27 Apr 2015 15:25:12 +0200 Message-ID: Subject: Permissionproblem on CIFS share. To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t3RDQ1JF031940 Hi, I have a permissionproblem on a CIFS share. The line in fstab reads "//fileserver.company.de/git /mnt/git cifs binary,posix=0,user,noacl" I then try to push some Git changes, but it does only work by repeating the push multiple times. Following you see the execution history, I did not change anything in between, I just retried the push until it was finally through and all changes are there in the end. My workaround is to do "watch -n 1 'git push 2>&1'" and waiting for it to finish successfully, but this only works for small repos. For bigger repos this needs ages. Has anyone any idea what is the cause and how to resolve it? As a sidenote, the same worked fine when the CIFS share was from a NetApp Linux server. But then it died and now it is a CIFS share on a Windows server. Before it worked fine, now I see this strange behaviour. I hope someone has a good idea. And here the execution transcript: bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/65/b67dadce10ca93c31238748d2181cc888284da' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/65/b67dadce10ca93c31238748d2181cc888284da' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/65/b67dadce10ca93c31238748d2181cc888284da' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/65/b67dadce10ca93c31238748d2181cc888284da' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/29/6e56023cdc034d2735fee8c0d85a659d1b07f4' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/29/6e56023cdc034d2735fee8c0d85a659d1b07f4' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/29/6e56023cdc034d2735fee8c0d85a659d1b07f4' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: error: unable to set permission to 'objects/29/6e56023cdc034d2735fee8c0d85a659d1b07f4' remote: fatal: failed to write object error: unpack failed: unpack-objects abnormal exit To file:///mnt/git/bkautler/foo ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'file:///mnt/git/bkautler/foo' bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Counting objects: 2, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 233 bytes | 0 bytes/s, done. Total 2 (delta 0), reused 0 (delta 0) To file:///mnt/git/bkautler/foo 1c64e62..65b67da master -> master bkautler AT lt045 /d/Sourcecode/foo [master|smu] $ git push Everything up-to-date Regards Björn -- 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