suisse2k

Q: Granting full control for every user on folder Users/Shared?

I want to put shared Pictures used by multiple users locally on the Users/Shared folder

 

Every user should have full control (read / write) of each file. And also read / write for every new file.

 

I've tried different things but couldn't achieve that. On Windows it's quite easy but how can I achieve that on osx?

Posted on Jun 30, 2015 5:28 AM

Close

Q: Granting full control for every user on folder Users/Shared?

  • All replies
  • Helpful answers

  • by Eric Root,

    Eric Root Eric Root Jun 30, 2015 12:47 PM in response to suisse2k
    Level 9 (70,068 points)
    iTunes
    Jun 30, 2015 12:47 PM in response to suisse2k

    Did you do a Get Info (command - I) and set Everybody to read/write and then click the gear at the bottom to selectApply to enclosed items?

  • by suisse2k,

    suisse2k suisse2k Jun 30, 2015 12:55 PM in response to Eric Root
    Level 1 (15 points)
    Jun 30, 2015 12:55 PM in response to Eric Root

    yes, but the permissions seems not to replicate to new documents

  • by suisse2k,

    suisse2k suisse2k Jul 18, 2015 4:13 PM in response to suisse2k
    Level 1 (15 points)
    Jul 18, 2015 4:13 PM in response to suisse2k

    The problem is the following:

     

    user A creates a document under \users\shared

     

    user B wants to delete that document. If he tries, he needs to be an admin or the Owner.

     

     

    How can I achieve that everyone can read, write and delete all files regardless the owner?

  • by suisse2k,

    suisse2k suisse2k Jul 18, 2015 4:14 PM in response to Eric Root
    Level 1 (15 points)
    Jul 18, 2015 4:14 PM in response to Eric Root

    Eric, sorry. Not everybody but User A and user B have read and write

  • by Eric Root,

    Eric Root Eric Root Jul 19, 2015 1:28 PM in response to suisse2k
    Level 9 (70,068 points)
    iTunes
    Jul 19, 2015 1:28 PM in response to suisse2k

    Are both users admin users?

  • by Barney-15E,Solvedanswer

    Barney-15E Barney-15E Jul 19, 2015 2:55 PM in response to suisse2k
    Level 8 (49,784 points)
    Mac OS X
    Jul 19, 2015 2:55 PM in response to suisse2k

    By default, that is what happens.

    I would create another folder inside Shared to use as the repository, then set ACLs on that folder that will allow everyone to modify the files that other users make.

    You'll have to create a group to put every user into. You can do that in Users & Groups. It is just like creating a user, but change the type to Group. Then, check the users you want to have access to that folder.

     

    Then, this is the ACL and the command you need to add to that folder:

    sudo chmod -R +a "groupname allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit"
    

    Change groupname to whatever you named your group. The part before the quotes is the command to add the ACL, and the quoted part is the ACL.

    So, anything created by one user in that group will be editable by others in the group.

  • by suisse2k,

    suisse2k suisse2k Aug 6, 2015 12:51 PM in response to Barney-15E
    Level 1 (15 points)
    Aug 6, 2015 12:51 PM in response to Barney-15E

    Barney, that was the solution. Works great, many thanks