Centos – Default Home Folder Permissions on CentOS 5

centoshome-directorypermissions

Whenever I create a new user in CentOS 5, their home folder is automatically given the UGO setting of "755", how can I change the default to "700"?

Also, the server is technically ClearOS, but it's based on CentOS.

Best Answer

You edit the file /etc/login.defs and change the umask value to:

UMASK 077
Related Topic