1.

Defines UMASK and how can it be helpful on a Linux server?

Answer»

UMASK is user file-creation mode to determine permissions of newly created files. When any user creates a file or directory under Linux or UNIX, the DEFAULT setting of the permissions was applied on the basis of UMASK mentioned in the CONFIG file. By default, UMASK id022 but you can change it COMPLETE system or for a particular user. Any files can have 3 types of PERMISSION read, write and execute, numeric representation is 777 for full permissions to a user, group and other users. When any user creates a file on the system with default UMASK 022 then files will get 755 permissions. 755 means read, write & execute to the user and read & execute to the group and other users.

UMASK is a very CRUCIAL command to control file & directory security. The system administrator can control file access permissions using UMASK in an efficient manner.



Discussion

No Comment Found