« SA Lisa Team communications standards *UPDATED* | Main | SA Lisa morning meetings - 07-13-2012 »

July 13, 2012

Setting the default umask for web-content...

One of the issues we've had with multiple users managing web-content and directory permissions is related to properly setting umask, specifically modifying the default RHEL6 umask value of 022 (022 only allows for group reading) - this causes significant problems when multiple individuals are managing content. We've side-stepped this problem by simply setting default umask values within the various login shell profiles, for example:

[root@winterberry /home]# vim /home/cdgrieb/.cshrc
umask 002

(for bash)
[root@winterberry /home]# vim /home/cdgrieb/.bash_profile
umask 002

A default value of 002 allows for owner/group reading/writing, which makes managing multiple web-based users significantly easier to deal with.

Posted by cdgrieb at July 13, 2012 10:14 AM


Login to leave a comment. Create a new account.