This is the mail archive of the
mailing list for the Cygwin project.
Re: Issues with ACL settings after updating to the latest cygwin.dll
- From: xnor <xnoreq at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 08 Feb 2016 17:48:07 +0000
- Subject: Re: Issues with ACL settings after updating to the latest cygwin.dll
- Authentication-results: sourceware.org; auth=none
- Reply-to: xnor <xnoreq at gmail dot com>
I'm not quite sure what you observe there. The NULL SID ACE only
contains extra information about some POSIX bits and the MASK value.
It's existence and setting should not influence what you can do with
file. The permission bits are explicitely set elsewhere in the ACL.
Can you reproduce the issue so that I can see what's going on? I need
the icacls output for the file and its parent directory, as well as the
output from getfacl for both.
I have the same problem with Transmission.
I noticed this first when I tried to execute an exe that was downloaded
with Transmission compiled in cygwin. When trying to start the exe from
Explorer an error dialog will appear:
"Windows cannot access the specified device, path, or file. You may not
have the appropriate permissions to access the item."
When going to file properties - security I get an information dialog
"The permissions on <program> are incorrectly ordered, which may cause
some entries to be ineffective."
Proper permissions (of parent folder) look like this:
Authenticated Users: modify
SYSTEM: Full control
Administrators: Full control
Users: Read & execute
The permissions of the cygwin/transmission created files are (manually
translated from German):
NULL SID: special
<My User>: special
Authenticated Users: Browse folder / Execute file
SYSTEM: Browse folder / Execute file
Administrators: Browse folder / Execute file
Users: Browse folder / Execute file
Authenticated Users: Read, write, execute
SYSTEM: Read, write, execute
Administrators: Read, write, execute
Users: Read, Execute
Also when going to advanced permissions it shows the same incorrectly
ordered warning and asks me to re-order permissions.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple