LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need to give rw access to a filesystem for a user (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-give-rw-access-to-a-filesystem-for-a-user-769647/)

antonyphilip 11-17-2009 06:03 AM

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

indiajoe 11-17-2009 06:29 AM

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

-Cheers
indiajoe

evo2 11-17-2009 06:44 AM

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.


All times are GMT -5. The time now is 11:18 PM.