Quantcast
Channel: umask does not have -S option - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 2

umask does not have -S option

$
0
0

I'm trying to use umask -S to show the current mask in symbolic form (per man umask on my system, which gives me the page BASH_BUILTINS(1)). But umask doesn't seem to behave as the manpage claims:

user$ umask
22
user$ umask -S
umask: Improper mask.
user$ umask -p
umask: Improper mask.
user$ which umask
umask: shell built-in command.

I'm running this in csh on RHEL 6.9. Something like umask 022 works fine. Why would the behavior differ from the manpage?


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>