Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-21-2009, 03:07 AM   #1
Registered: Aug 2007
Posts: 45

Rep: Reputation: 15
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 )
Old 07-21-2009, 03:10 AM   #2
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can do that. You will need to set permissions for the directory that way.
Old 07-21-2009, 03:13 AM   #3
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Common Folder on Active Directory? the0wl Linux - Networking 2 05-30-2009 12:52 AM
Ubuntu Common Folder on Active Directory? the0wl Linux - Enterprise 0 05-28-2009 10:55 PM
How to Access windows server 2008 shared folder(samba is installed) from Ubuntu pincustomer Linux - Newbie 3 01-28-2009 05:14 AM
After compiling my kernel, common user access denied. yilang *BSD 6 05-09-2005 09:29 PM
Common user access to mounted partitions? JoooN Slackware 2 02-16-2003 07:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration