HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Umask

 
Waugh
Frequent Advisor

Umask

Hi ,

For non root user we can set the umask is 022 as per good practise . What should be umask for root user .

Regards,
Rkumar
3 REPLIES
vishnu.khandare
Respected Contributor

Re: Umask

As Root user has all the previlages umask can be changed anytime, no meaning in setting umask to root.
You should deserve before U desire!!!!
Bijeesh
Respected Contributor

Re: Umask

Hi,

umask value can decide the permission of files which created by the user.
For better, you can give 077 value so that no other users get access to files created by root.
But this cause too painful in normal operations.So set atleast 022 umask value.

Re: Umask

>Vishnu: As Root user has all the privileges umask can be changed anytime, no meaning in setting umask to root.

This is to protect root from other users changing his files.
See Bijeesh's suggestions.