Skip navigation
This discussion is archived

Automatically make shared files writable for others

1807 Views 0 Replies Latest reply: Feb 16, 2011 6:39 AM by Király RSS
Király Level 6 Level 6 (9,470 points)
Currently Being Moderated
Feb 16, 2011 6:39 AM
Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.



The following procedure will create a shared folder, that will automatically grant users of a group read and write permissions to all files/folders copied to it.

Step 1: Go to System Preferences -> Accounts. Unlock the padlock and press the + button. Then, select "Group" from the drop down menu. Give the new group the name sharegroup. Add the users you want to the group.

Step 2: Create a folder in /Users/Shared to be used for sharing your files. If you already have a folder with files in it you want to use, move it to /Users/Shared.

Step 3: Log in to an administrator account and open Terminal. Paste in the following two lines at the same time:

sudo chmod -R +a "sharegroup allow delete,chown,list,search,add_file,\
addsubdirectory,delete_child,file_inherit,directoryinherit" \


Then press return. Then drag the folder to be shared into the Terminal window, and press return again. Enter the admin password when prompted and press return again.

When you are done, it is all set up. Any items that are *created in* or *copied to* that folder will automatically be read+write for all of the users in the group.

Please note that if you have any pre-existing files elsewhere on the same volume, they won't inherit the ACL settings if they are simply moved to the sharefolder. They must be copied or *newly created* there. *Holding down the option key* when dragging files there from another location should ensure that they are copied.

This is the 1st version of this tip. It was submitted on February 10, 2011 by Király.
Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.
iMac (3.06GHz Intel, OS X 10.6.6), eMac (1.25GHz PowerPC G4, OS X 10.5.8)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.