-   Linux - Newbie (
-   -   common folder access two user in ubuntu server (

vipin_jss 07-21-2009 02:07 AM

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 )

linuxlover.chaitanya 07-21-2009 02:10 AM

You can do that. You will need to set permissions for the directory that way.

jhwilliams 07-21-2009 02:13 AM

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 10:48 PM.