Mail Archives: cygwin/2010/03/01/12:46:06
--------------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
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dOyB0aGVuCiAgICAgc2V0ZmFjbCAtbSBkOmc6JGc6cnd4IHRz
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--
- Raw text -