proofpolaris.blogg.se

Write access for a location mac
Write access for a location mac













Then use Directory: New Property to add the property users. Use Edit: Duplicate to make a copy.Ĭhange the name of the duplicate to your chosen shared group name, and the GID to some free number ( 401 is a good choice, if you have no preference). To do this, launch NetInfo Manager (in Applications/Utilities), click on groups, click the lock and authenticate to make changes, and then click on the group which is the same as your username. Make a new group (mine is called home), and add all users who would like shared write access.You can check if it worked by logging out and back in, and typing umask in the Terminal.

write access for a location mac

You can't do this globally using the umask command in the Terminal, but rather, as mentioned in this hint, with this command: defaults write -g NSUmask 2You must do this for all users who would like to share write access to files using this scheme.

write access for a location mac

Write access for a location mac how to#

Here's how to allow sharing of any set of directories for any number of users on the same machine: To set this up for OSX 10.3 or later, all you need is to set the default umask for all users who'd like to share write access on some set of directories, create one or more custom user groups to enable such sharing, and then enable the setgid bit on one or more shared directories. Check out this nice writeup from RedHat, explaining the ins and outs of the UPG system. In fact, this is how many Linux distributions ship by default.

write access for a location mac

If you never create another group, umask values of 002 and 022 will be exactly equivalent, because there will never be a group with more than one member. Since Tiger and Panther use, by default, a "user private group" (UPG) scheme, in which every user gets his own group, it is perfectly reasonable and secure for the default umask to be 002 (which means files are group writable by default). A straightforward method can be used to enable shared write access on selected directories for multiple users on the same machine, without resorting to cron scripts or Access Control Lists (ACLs).













Write access for a location mac