How to set the umask for full permission?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Issue

  • Is it possible to set umask for a particluar user as full permission?

Resolution

  • umask setting will be 0000, which means that new files you create will have read and write permission for everyone (0666 or -rw-rw-rw-), and new directories that you create will have read, write and search permissions for everyone (0777 or drwxrwxrwx)

    • For persistent, put the umask 000 entry in .bashrc file under users home directory

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments