|
|
Create a shared mounted volume for all users of a Mac
Following is my /etc/profile. How/where would I edit it to use umask?
Create a shared mounted volume for all users of a Mac
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
Create a shared mounted volume for all users of a Mac
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?
Create a shared mounted volume for all users of a Mac
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 |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|