LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-17-2009, 07:03 AM   #1
antonyphilip
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 0
Smile Need to give rw access to a filesystem for a user


Hi I have a user called newuser1 and need to give rw access to /mymnt(a newly crerated filesystem) fo this user.tried setfacl -m d:u:newuser1:rw /mymny .but no success.
please somebody advice ,how can i accomblish this
Thank u very much for helping
 
Old 11-17-2009, 07:29 AM   #2
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Porteus atma
Posts: 84

Rep: Reputation: 21
Why not chmod

Hi
Why not use chmod command to allow rw access to the new user?

-Cheers
indiajoe
 
Old 11-17-2009, 07:44 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
As pointed out by indiajoe, chmod (and perhaps chown) is probably the way to go here.

However, exactly how to do it depends on a couple of things. Do you want this user to be the only person who can write to it? Or do you want all users to be able to write to it? Or perhaps a set of users, eg tom, dick and harry, but not bill and ben?

Cheers,

Evo2.

Last edited by evo2; 11-17-2009 at 07:45 AM. Reason: No need to quote
 
  


Reply


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
Mounted a filesystem as root.How does one give write-permission to a user? Mr.DeVillie Linux - Software 4 02-08-2006 08:20 AM
Give user write access to htdocs kvnband Linux - Security 9 12-30-2005 02:35 PM
give user access to mount xbriank Fedora 2 02-15-2005 07:44 PM
how to give a normal user access to cd burning? zero79 Debian 2 08-14-2004 09:38 PM
give user SU to access evrything? OverrRyde Mandriva 8 08-05-2004 02:58 PM


All times are GMT -5. The time now is 06:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration