Give write permissions to multiple users on a folder in Ubuntu
Problem
There is a folder that is owned by user tomcat6: I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same group. I have tried using : but this gives me error. Kindly help me.
Error Output
drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Give write permissions to multiple users on a folder in Ubuntu
There are two ways to do this: set the directory to "world" writable or create a new group for the two users and make the directory writeable to that group. Obviously making it world writeable is a Bad Thing, so the second option is preferable. Users in Linux can belong to more than one group. In this case you want to create a brand new group, let's call it : Now that the group exists, add the two users to it: Now all that's left is to set the permissions on the directory: Now only members of t…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix