Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


What is an UMASK and how to set it in Linux/Unix?

Apr 23, 2013, 10:00 (0 Talkback[s])
(Other stories by Surendra Anne)

UMASK(User Mask or User file creation MASK) is the default permission or base permissions given when a new file(even folder too, as Linux treats everything as files) is created on a Linux machine. Most of the Linux distros give 022(0022) as default UMASK. In other words, It is a system default permissions for newly created files/folders in the machine. How to calculate UMASK in Linux? Though umask value is same for files and folders but calculation of File base permissions and Directory base permissions are different.

Complete Story

Related Stories: