common folder access two user in ubuntu server
i want to create a user account other than the root so that root as well as that user can upload delete files in the ubuntu system (e.g suppose that i have some php files in var/www so that root and that user can upload in the same directory )
You can do that. You will need to set permissions for the directory that way.
okay, cool, so then just do it. Anything a regular user can do, root can do.
You do not actually want to use the root account like that though.
What you're really asking, I think, is how to get two users to be able to work on the same files in a dir.
root <-- don't use this.
uesr1 <-- cool.
user2 <-- okay, cool.
make the users members of the same group and give the files/dir group ownership. put ug+rw on the files and ug+rwx on the dirs.
|All times are GMT -5. The time now is 04:22 PM.|