sixstrings
asked on
Ubuntu Folder and File sharing
I need to set up wwwroot folder so that It can have access to the users.
The permission should be set on the following basis:
1. The wwwroot directory in /www
2. When the any user1 create a folder lets say /wwwroot/myproject, that particular user need to have full access to /wwwroot/myproject.
3. However when user2 create a folder lets say /wwwroot/myworld, he also need to have fill access to /wwwroot/myworld but view access to /wwwroot/myproject.
4. Finally /wwwroot directory should appear in all users home
The permission should be set on the following basis:
1. The wwwroot directory in /www
2. When the any user1 create a folder lets say /wwwroot/myproject, that particular user need to have full access to /wwwroot/myproject.
3. However when user2 create a folder lets say /wwwroot/myworld, he also need to have fill access to /wwwroot/myworld but view access to /wwwroot/myproject.
4. Finally /wwwroot directory should appear in all users home
Method 1:
open a terminal window, type in "sudo nautilus". browse to "/". right click the wwwroot folder and set the permissions so that everyone can access the folder.
method 2:
open terminal window, type in "sudo chmod 0777 -R /wwwroot"
open a terminal window, type in "sudo nautilus". browse to "/". right click the wwwroot folder and set the permissions so that everyone can access the folder.
method 2:
open terminal window, type in "sudo chmod 0777 -R /wwwroot"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I used /var/www as an example. If you have your wwwroot in /www you have to change the commands according to this.
I've attached a pic of the resulting file rights when a user creates a file + how the www-link looks like in the users home dir.
Regards, Tobias
1wwwDirRights.gif
1wwwInHomedir.gif
I've attached a pic of the resulting file rights when a user creates a file + how the www-link looks like in the users home dir.
Regards, Tobias
1wwwDirRights.gif
1wwwInHomedir.gif
oh, I almost forgot, the users have to be members of the group 'user' for this to work.
Regards, Tobias
Regards, Tobias
It sound like you will still need to specify a group that has read access to the wwwroot dir and all users will be a member of that group.