umask

UMASK (User Mask or User file Creations Mask) in Linux and how to set UMASK?

Value of UMASK is same for fine and directory in Linux, but its calculations are different.

FOLDER UMASK

000 and 777 is the minimum and maximum UMASK value for folder in Linux.

FILE UMASK

000 and 666 is the minimum and maximum UMASK value for file in Linux.

Last updated