Permissions on Files Created with Cygwin

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Thu Feb 10 19:56:15 GMT 2022


On 2022年02月10日 09:48, Rob Stevens wrote:
> Whenever I create files with cygwin (using whatever utilitity or editor)
> I get these permissions as reported by icacls:
>   NULL SID:(DENY)(Rc,S,X,DC)
>   MALIN\rob:(R,W,D,WDAC,WO)
>   NT AUTHORITY\SYSTEM:(DENY)(S,X)
>   BUILTIN\Administrators:(DENY)(S,X)
>   MALIN\None:(R)
>   NT AUTHORITY\SYSTEM:(RX,W)
>   BUILTIN\Administrators:(RX,W)
>   Everyone:(R)
> These permissions are not those inherited from the containing directory.
> Not that only, but the windows utilities complain the the
> permissions are mal-ordered.

That's a long time Explorer bug as it's not its preferred order.
> Is this not a bug?? Do I need a different (null?) umask in the environment?

Try running
	$ setfacl -b file...
as it sometimes reduces those ACLs to a shorter, more readable list.
-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /