A problem with noacl+umask+chmod result
Marco Atzeri
marco.atzeri@gmail.com
Thu Apr 8 05:48:44 GMT 2021
On 07.04.2021 22:47, Orgad Shaneh via Cygwin wrote:
> Hi,
>
> If a filesystem is mounted with noacl, calling chmod to add write
> permissions after umasking this permission doesn't work. Demonstrated
> with command-line and C++.
>
> Did I miss something or is this a real bug? According to umask man, it
> should only affect newly created files and directories, but I didn't
> find anything that relates to chmod.
>
without ACL you can not expect the POSIX scheme to properly work.
see
https://cygwin.com/cygwin-ug-net/ntsec.html
to understand how Cygwin uses ACL to mimic POSIX premissions
More information about the Cygwin
mailing list