How To Set Umask For a Particular User 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.
To set umask for a particular user in Linux, use the following command:
$ umask <permission_level>
For example, if you want to set the umask for a user with the username “myuser” to 022, then use the following command:
$ umask 022