LinuxQuestions.org
Review your favorite Linux distribution.
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 11-17-2009, 06: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, 06: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, 06:44 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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 06:45 AM. Reason: No need to quote
 
  


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

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

All times are GMT -5. The time now is 05:06 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
Open Source Consulting | Domain Registration