Xakriel's Tech Support Blog

Filesystem automatic permissions in Mac OS X

Posted in Macintosh by xakriel on February 2, 2011

A user asked me about having the default permissions include other in all new files that are created so that he can synchronize his data from different accounts on his two computers. I found a way for him to do this:

http://wolfgang.reutz.at/2009/07/21/mac-os-x-10-5-setting-a-custom-umask/

The above links to the following site from apple:
http://support.apple.com/kb/HT2202

They both talk about the umask option. Because we only needed files in his user account to be altered by any user, we only edited the “/etc/launchd-user.conf” file. Because he wanted 777 permissions, we set the umask to 000 with the entry in the launchd-user.conf file “umask 000” (without the quotes.) After a restart he was up and going. Now he doesn’t have to manually change all the permissions on his files so that he can view them on his other computer.

Tagged with: , , ,

Leave a comment