Allowing Group and Owner for 3 users
i have 3 sites/users that all need to be able to access each other with complete read/write/exec access
Site1 Site2 and Site3
what's the best way to do this without screwing up all the premissions and access to my currently active sites. I need advice from someone who is a pro at this and not just guessing at what premissions to set.
I've already had to restore twice after receiving bad advice on another forum.
When you say sites, what are you refering to? Do you mean physical sites, or do you mean websites? If you mean websites, I would create a group and all the users to that group. The I would only change the group owner for the folders that contain those sites. Then I would change the permissions to something like 775 which would be rwxrwxr-x.
Now if you have physical sites then I may need some additional information.
Step 1: groupadd rategrp
Step 2: chgrp /home/site1/ (do i recursively -r or just the main folder)
yes I would do that recursively for the site folders only. But I am going to start as if you just created the group.
So you now have a group called rategrp - edit the /etc/group folder and add the users to that group that will require the write permissions. Then change the group-owner for the three sites. Once you have done that go through the folders and assign the permissions that they need. If you want the whole site writable then just do the following
|All times are GMT -5. The time now is 09:01 AM.|