Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a shared mounted volume for all users of a Mac' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a shared mounted volume for all users of a Mac
Authored by: matx on Mar 01, '10 06:35:15PM

Just add "umask 002" or "umask 000" on a separate line in your /etc/profile. Also, create a launchd-user.conf and add the same for 10.5.x or newer. On old systems you had to use a defaults command to make sure the Finder respected your umask, but newer systems refer to /etc/launchd-user.conf. I always add in /etc/profile for terminal apps or GUI apps which are wrappers for apps launched via terminal with specific environment variables (shake, nuke, Maya etc). I can post links to installers apps I created if necessary for 10.4,10.5 and newer.

---
Mat X



[ Reply to This | # ]
Create a shared mounted volume for all users of a Mac
Authored by: da2357 on Mar 02, '10 03:13:03AM

OK, (and forgive my ignorance) but if I only want full read-write on /Users/Shared/Basket, how would I limit the umask command to just that folder?



[ Reply to This | # ]
Create a shared mounted volume for all users of a Mac
Authored by: matx on Mar 02, '10 08:30:04AM

Umask doesn't restrict itself to any particular shared folder. For that you'd use ACLs and ACE, i.e. Permissions based setup. Umask is more helpful for group based sharing of files on all shared filesystems (network drives, Xsan, etc).

---
Mat X



[ Reply to This | # ]