Linux Fundamentals
What this topic covers
Use shell commands to manage files, permissions, users, and processes, including ACLs and process signals. Apply file-search options and basic scripting to support Linux administration.
What file mode results from a umask of 0002 applied to a new file?
The new file gets mode 0664. The umask 0002 clears only the write bit for others, so the owner and group keep read and write while others get read only. Since 0666 never includes execute, no execute bit is added.