umask:tldr:e2b41
The "umask -S" command is used to display the current file creation mode mask (umask) in symbolic form.
In Unix-like operating systems, umask is a permission mask that is applied to new files and directories created by a user or process. This mask determines the permissions that are not granted to newly created files or directories.
The "-S" option in the umask command stands for "symbolic" and shows the umask value in a human-readable symbolic form. It displays the file permission bits that are not set for newly created files or directories.
For example, running the "umask -S" command might output something like:
u=rwx,g=rwx,o=rx
This output translates to "user (owner) has read, write, and execute permissions, group has read, write, and execute permissions, and others have read and execute permissions." The '-' symbol means that the specific permission is not granted.
In summary, "umask -S" is a command that displays the current umask value in symbolic form, indicating the permissions that are not granted to newly created files or directories.