|
|
Create a shared mounted volume for all users of a Mac
While I like this solution since it is very cool and involves AppleScript and encrypted disk images I think there's a simpler way to share files between different owners, it's called a umask. Edit /etc/profile and /etc/launchd-user.conf (depending on version of MacOSX) and umask 002 or umask 000 (for group read write or all read write). You could also use Workgroup Manager or Accounts pref pane to make a common group for your home users. Anyway, this is just another way to accomplish your stated goal. ---
Mat X -- VFX Mac Tech
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
a bad idea
000 umask! I don't like the original hint (much better to use ACLs) but this is worse as it will make ALL files created by ALL users ANYWHERE read+write for everybody.
Not recommended.
|
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 |
|