Duplicate ACLs? - Can't copy file even with Admin permissions

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jan 25 19:19:42 GMT 2022


On Jan 21 08:57, cygwin@kosowsky.org wrote:
> Hi Corinna,
> I found another file with ACLs that fail even under the new snapshot
> cygwin1.dll.
> 
> #getfacl setup.ilg
> # file: setup.ilg
> # owner: Administrators
> # group: None
> getfacl: setup.ilg: Invalid argument
> 
> #icacls.exe setup.ilg
> setup.ilg NT SERVICE\TrustedInstaller:(I)(F)
>           NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
>           NT AUTHORITY\SYSTEM:(I)(F)
>           NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
>           BUILTIN\Administrators:(I)(F)
>           BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
>           BUILTIN\Users:(I)(RX)
>           BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
>           CREATOR OWNER:(I)(OI)(CI)(IO)(F)
> 
> #icacls.exe setup.ilg /save setup.acl
> #cat setup.acl
> setup.ilg
> D:(A;ID;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;CIIOID;GA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;ID;FA;;;SY)(A;OICIIOID;GA;;;SY)(A;ID;FA;;;BA)(A;OICIIOID;GA;;;BA)(A;ID;0x1200a9;;;BU)(A;OICIIOID;GXGR;;;BU)(A;OICIIOID;GA;;;CO)
> 
> -------------
> Any thoughts on what might be wrong here?

Again, the permissions don't make sense.  However, that's no good reason
for Cygwin to bail out like this.  I found the culprit, the core function
was still setting a certain indicator value for default ACEs even on
files.  I pushed a patch and created new developer snapshots.


Thanks,
Corinna


More information about the Cygwin mailing list