I have a folder
public_html with several subfolders on Ubuntu 12.04 server.
Is it possible to add different permissions on individual subfolders for two new individual users without changing the group ownership of the folders or interfering with apache permissions? If so, how?
I would like to add two new users but restrict their write permissions to specific subfolders Each user would have access to different folders e.g.
user1 should be able to write to
user2 should be able to write to:
public_html/folder2 and public_html/folder3
If this can be done in ftp permissions separately (proftpd) that would also be an option.
ls -al in the home folder of the user which owns
public_html gives me :
drwxrwxr-x 27 user1 user1 4096 Feb 12 16:54 public_html
all subfolders i'm interested in changing the permissions for have the permissions:
drwxrwsr-x 2 user1 user1 4096 Nov 22 12:52 views
usernames have been changed to protect the innocent. This server was not set up by myself and I have a feeling permissions are far too permissive.