X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,BOTNET X-Spam-Check-By: sourceware.org Message-id: <4B8BFD4A.6060609@acm.org> Date: Mon, 01 Mar 2010 09:45:46 -0800 From: David Rothenberger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin's svn appends unwanted .exe to file name on checkout References: In-reply-to: Content-type: multipart/mixed; boundary=------------000907070902000506050104 X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 --------------000907070902000506050104 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/1/2010 5:43 AM, Alan Burn wrote: > Hi Dave, > > On Fri 26/02/2010 22:45 Dave wrote: >> As a last gasp effort, please try the attached (modified) >> reproduce.sh script. It uses an empty user Subversion >> configuration directory, just to rule that out. Please also >> move /etc/subversion out of the way before running it. There >> are commands to do that at the top and bottom of the script, >> but they're commented out. > > Done. The problem is reproduced again as shown in the command > line output below. So I think I've made a little progress here. I still don't have a solution, but I can now reproduce the problem. The problem is triggered by default group ACLs on the working copy directory. When I run as a local administrator, a "default:group:Administrators:rwx" ACL will cause the ".exe" extension to be appended, while "d:g:Administrators:---" will avoid the problem. I see similar results for a non-admin user and the "Users" group. I was running the script in a directory under /tmp, which doesn't have these default ACLs. $ getfacl /tmp # file: /tmp # owner: drothe # group: None user::rwx group::rwx mask:rwx other:rwx default:user::rwx default:group::rwx default:other:rwx But, if I run the script in a new directory which has the default ACLs, the problem appears. $ mkdir /cygdrive/c/svn-tst $ getfacl /cygdrive/c/svn-tst # file: /c/svn-tst # owner: drothe # group: None user::rwx group::r-x group:SYSTEM:rwx group:Administrators:rwx group:Users:rwx mask:rwx other:r-x default:user::rwx default:group::r-x default:group:SYSTEM:rwx default:group:Administrators:rwx <<---- triggers problem default:group:Users:rwx default:mask:rwx default:other:r-x I've attached another reproduction script that sets the default ACL for each group to 0 on the working copy before doing the final checkout. This avoids the problem for me. Please let me know what you find. -- David Rothenberger ---- daveroth AT acm DOT org QOTD: "I haven't come far enough, and don't call me baby." --------------000907070902000506050104 Content-Type: text/plain; name="reproduce.sh" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="reproduce.sh" IyEvYmluL2Jhc2gKCiMgU2V0IHRvICJjbGVhciIgdG8gY2xlYXIgdGhlIGRl ZmF1bHQgQUNMcy4gVGhpcyBzaG91bGQgbWFrZSB0aGUKIyBwcm9ibGVtIGdv IGF3YXkuCiMKIyBTZXQgdG8gInNldCIgdG8gc2V0IHRoZSBkZWZhdWx0IEFD THMuIFRoaXMgc2hvdWxkIGNhdXNlIHRoZQojIHByb2JsZW0gdG8gYXBwZWFy LgpTRVRBQ0xTPWNsZWFyCiNTRVRBQ0xTPXNldAoKcm0gLWZyIHJlcG9zIHRy dW5rIHRzdCBjZmcKbWtkaXIgY2ZnCgpSPWZpbGU6Ly8vJChjeWdwYXRoIC11 YSAuKS9yZXBvcwpDRkc9IiQoY3lncGF0aCAtdWEgY2ZnKSIKZWNobyAiUj0k UiIKCiMgQ3JlYXRlIHRoZSByZXBvc2l0b3J5CnN2bmFkbWluIGNyZWF0ZSBy ZXBvcwoKIyBDcmVhdGUgdGhlIHRydW5rCnN2biBta2RpciAtLWNvbmZpZy1k aXIgJENGRyAtbSAnJyAiJFIvdHJ1bmsiCnN2biBjbyAtLWNvbmZpZy1kaXIg JENGRyAiJFIvdHJ1bmsiCgojIEFkZCBhbiBFWEUgYW5kIGEgVFhUIGZpbGUK Y2QgdHJ1bmsKY3AgIiQoY3lncGF0aCAtV3VhKSIvbm90ZXBhZCBub3RlcGFk Lnh4eApkYXRlID4gdGV4dC50eHQKc3ZuIGFkZCAtLWNvbmZpZy1kaXIgJENG RyAqCnN2biBjaSAtLWNvbmZpZy1kaXIgJENGRyAtbSAnJwoKIyBDaGVjayBv dXQgaW50byBhbm90aGVyIGRpcmVjdG9yeQpjZCAuLgpta2RpciB0c3QKCmlm IFsgLW4gIiRTRVRBQ0xTIiBdOyB0aGVuCiBmb3IgZyBpbiAkKGlkIC1HKTsg ZG8KICAgaWYgWyAiJFNFVEFDTFMiID0gImNsZWFyIiBdOyB0aGVuCiAgICAg c2V0ZmFjbCAtbSBkOmc6JGc6MCB0c3QKICAgZWxpZiBbICIkU0VUQUNMUyIg PSAic2V0IiBdOyB0aGVuCiAgICAgc2V0ZmFjbCAtbSBkOmc6JGc6cnd4IHRz dAogICBmaQogZG9uZQpmaQoKZ2V0ZmFjbCB0c3QKc3ZuIGNvIC0tY29uZmln LWRpciAkQ0ZHICIkUi90cnVuayIgdHN0CmNkIHRzdApscyAtbAo= --------------000907070902000506050104 Content-Type: text/plain; charset=us-ascii -- 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 --------------000907070902000506050104--