Anonymous wrote:
> Dear Maintainer,

I am not the maintainer but I am another user.

> There is a common (but misguided) departure from POSIX when a user
> specifically instructs that a regular file have execution permission.  E.g.

There seems to be a misunderstanding.  The umask does not *set*
permissions.  The umask is a mask that *removes* permissions.

The default file mode for files is -rw-rw-rw-.  The default for
directories is drwxrwxrwx.  The umask removes from those bits.  This
is the way Unix-like file systems have worked for the last 40 years.

Note also that there are additional bits such as set-uid, set-guid,
and the (sticky bit) t-bit.  Obviously a zero umask (umask 0) wouldn't
cause those bits to be set.  It is the same with the execute bit too.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to