LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Shared User Permissions (https://www.linuxquestions.org/questions/linux-general-1/shared-user-permissions-4175614574/)

xer01ne 09-26-2017 04:06 PM

Shared User Permissions
 
I am trying to share permissions between 2 users. Basically, I want user1 and user2 to be able to create, modify, and delete files in a shared work directory over SFTP. The problem I ran into is; when user1 creates a file, user2 cannot edit that file. I created a group and added both users to that group and added each user to each others group (ie, user1 in the user2 group and user2 in the user1 group). I can't wrap my head around this.

What is the best way to have a truely shared directory where two users can work on files together (including delete, modify and read) and it be continuing so that I don't have to keep changing the permissions.

Thanks for the help.

justmy2cents 09-26-2017 06:30 PM

You have to make sure the files have read/write permissions for the group bit..


All times are GMT -5. The time now is 11:09 AM.