I am trying to find out how to create ssh users that can work inside my sites directories but not have complete access except for the folders I specify.
The only issue is that I need the sub-users not to create privledge issues. It's like I want a site owner to act like root when it deals with anything in his site folder, created by him or the other workers.
Any suggestions on a stable solution?
Thanks
Make the primary group the same for all of these users
Set the umask for each user to 0002
Change ownership of files in existing shared directories
Now, files will be created with group "users" and mode 0775. Your users can overwrite each others files.