0

umask command in linux

how can I use the umask command to set permissions....????

cameron
asked Feb 6, 2017
1 Answer
0

umask is used to determine the file permission for newly created files and directory. You can configure umask in /etc/bashrc or /etc/profile file for all users. By Default most Linux distribution set umask to 022 (or) 002.

To modify the umask values:

Open /etc/profile or ~/.bashrc file and modify umask values as per your wish.

View More
mkarthikeyan
answered Feb 13, 2017
Your Answer
||||
 
100:0