Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Setting global umask via NSUmask or /etc/launchd.conf and /etc/launchd-user.conf broken?

The procedure to change the default global umask from 0022 to 0002, so that most files created by one user on a machine will be read-write by other users in the same group, seems to have been broken or to have been changed in OS X Lion from OS X Snow Leopard. What worked as far back as OS X 10.4 and was officially documented was done from Terminal: "defaults write /Library/Preferences/.GlobalPreferences NSUmask 2" (with a sudo, if not logged in as 'root').


Another way documented in various places and which I actually used through OS X 10.6 was also done via Terminal. Two files were created: /etc/launchd.conf (for system-wide global umask) or /etc/launchd-user.conf (for user-specific global umask). The contents of each were simply the single umask command, "umask 002" or ("umask u=rwx,g=rwx,o=rx", I can't remember which variant I used - they're functionally the same, though).


No matter which method I use, the 2nd or the 1st, the global umask no longer changes.


Does anyone know whether this has been deliberately hobbled under OS X Lion, requiring purchase of OS X Lion Server? Is this an OS X Lion bug? Or, am I looking at something wrong?

MacBook Pro, Mac OS X (10.7)

Posted on Jul 23, 2011 5:38 PM

Reply
10 replies

There are no replies.

Setting global umask via NSUmask or /etc/launchd.conf and /etc/launchd-user.conf broken?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.