Hello,
Ubuntu 18 Server
I am setting up an SFTP server using openssh and am running into a permissions issue. I have two folders. User 1 needs to be able to upload and delete from both folders, which user 2 only has access to upload and delete on one folder, and user 3 only has access to upload and delete on the other folder.
The folder path is at /var/sftp/uploads/Folder1 and /var/sftp/uploads/Folder2. Root currently chown /var/sftp. Then chown /var/sftp/uploads to user1. I then did chown /var/sftp/uploads/Folder1 for user1 and the same for user 2 but on folder 2. While User 1 can now see Folder 1 and Folder 2, User 1 cannot access these folders. I have tried chmod 755, but that does not give the desired results.
I would greatly appreciate any help!
Thank you,
Bookmarks