[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: umask builtin
From: |
DJ Mills |
Subject: |
Re: umask builtin |
Date: |
Wed, 8 Nov 2017 08:55:11 -0500 |
On Wed, Nov 8, 2017 at 6:04 AM, kalle <kalle@projektwerkstatt.de> wrote:
> in my version 4.4.0(1),
> `umask' gives me a numeric output of `0022',
> while `umask -S' gives me an output of `u=rwx,g=rx,o=rx'.
> Shouldn't umask -S also formulate the mask in a negative way, as does
> `umask'? Thus giving out `u=,g=w,o=w'?
>
> greetings,
> kalle
>
>
>From umask(1p):
For a symbolic_mode value, the new value of the file mode creation mask
shall be the logical complement of the file permission bits portion of
the file mode specified by the symbolic_mode string.