X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org X-SBRS: None Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Cygwin 1.7 beta breaks git on Windows shares Date: Wed, 16 Dec 2009 09:45:39 -0800 Message-ID: From: "Jacobs, Todd" To: X-Tablus-Inspected: yes X-Tablus-Classifications: public X-Tablus-Action: allow X-IsSubscribed: yes 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 I'm running the 1.7 beta, and am finding that git repositories on Windows shares now exhibit permissions problems. For example: $ chmod g+w .git chmod: changing permissions of `.git': Permission denied =20=20=20=20=20=20=20 However: $ ls -lad .git drwx------+ 1 todd Domain Users 0 2009-12-16 08:58 .git/ =20=20=20=20=20=20=20 so I should be able to change the permissions. Is it something to do with being on a Windows share? If so, why would it stop working because of the 1.7 beta? What's changed in terms of how 1.7 handles security permissions? This pretty much breaks all of git: $ mkdir testgit; cd testgit; echo foo > foo; git add foo error: unable to set permission to '.git/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99' error: foo: failed to insert into database error: unable to index file foo fatal: adding files failed but doesn't seem to be a problem with non-git files on the same share: $ touch permtest; ls -l permtest; chmod 777 permtest; ls -l permtest -rw-r--r--+ 1 todd Domain Users 0 2009-12-16 09:35 permtest -rwxrwxrwx+ 1 todd Domain Users 0 2009-12-16 09:35 permtest* What can I do to fix this? -- 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