You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Default Group Ownership and Permissions

All new files created by a standard user (User1) have group assigned as "staff" and group permissions set to "Read only." How do I change the default group and ownership permissions for newly created files?


Said another way: I want new files created by User1 to have group = "Accounting Group" and group permisions = "Read & Write".

MacBook Pro (15-inch Late 2011), Mac OS X (10.7.2)

Posted on Jan 20, 2012 11:27 AM

Reply
25 replies

Dec 16, 2012 9:52 AM in response to Király

I just wanted to say a big thanks to Király. I was suffereing the same problem, attempting to work on the same set of files from two different users on the same computer, and his solution worked perfectly.


I moded his text slightly as the user group I wanted is named something different. I found that one can copy and paste his text into textedit to make such a change, and then copy it from there. If you change the text below, substituting the word usergroupname with the name of your own, it should work fine.


sudo chmod -R +a "usergroupname allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,di rectory_inherit"



Also the order is:

Launch terminal

Paste modded text from above

Hit the space key once

Drag folder you want to change the permissions onto the terminal window

Hit return

When terminal asks for your admin password, enter it and hit return


That should do the trick, at least it did for me.

Jan 3, 2013 12:59 PM in response to Király

Hi Király,


thanks for your great solution! I was looking exacly for that.


However, it does not solve the problem if files are beeing moved (or dragged and dropped) since there seems to be no inheritance applied when a file is moved into the project folder. Also if you move a file from the project folder into a user account it's permissions stay the same (which means that if I want a file not to be shared anymore it does not inherit the permissions of my personal user account if I copy it into my home directory).


Can you think of a way to solve this (other than making a copy and deleting the original file)?

Default Group Ownership and Permissions

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.