LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-21-2009, 02:07 AM   #1
vipin_jss
Member
 
Registered: Aug 2007
Posts: 45

Rep: Reputation: 15
common folder access two user in ubuntu server


hi

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, 02:10 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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

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


Reply



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-29-2009 11:52 PM
Ubuntu Common Folder on Active Directory? the0wl Linux - Enterprise 0 05-28-2009 09:55 PM
How to Access windows server 2008 shared folder(samba is installed) from Ubuntu pincustomer Linux - Newbie 3 01-28-2009 04:14 AM
After compiling my kernel, common user access denied. yilang *BSD 6 05-09-2005 08:29 PM
Common user access to mounted partitions? JoooN Slackware 2 02-16-2003 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 AM.

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