How To Set Umask Permanently In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can set the umask permanently in Linux by editing the /etc/profile or /etc/bashrc files with your favorite text editor. Add the following line to the file and save it:
umask 002
This will set the umask to 002, which will allow read, write, and execute permissions for the user, group, and others.