euglug.org

[Eug-lug] user write access to /mnt/??

작성자

카테고리:



Mr OSun Apr 23 09:52:02 PDT 2006

The trouble is root can do it all. I'm not looking to add an
entry to fstab unless neccessary. I tend to mount different
devices to different directories. For instance, if only one
device is plugged in it is /dev/sdb. So I may mount it to
/mnt/camera or /mnt/usb. Now, what if I plug in a second USB
device? Naturally it will be /dev/sdc so I'd mount it somewhere.
Is there an "easy" (non-GUI) way to give permission for the user
to write to those devices? I've tried to chown the folder to the
username but once the device is mounted permissions are changed
to root:root. Any other tips or tricks?

That be all,
Mr O.

--- larry price <laprice at gmail.com> wrote:

> what's it listed as in /etc/mtab
> 
> it sounds like either it was mounted read only, or you need to
> chmod
> o+w /mnt/blah
> 
> 
> On 4/22/06, Mr O <notanatheist at yahoo.com> wrote:
> > Just what it says. How can I give a user write access to a
> > device under /mnt/blah? USB key? Camera? I can read and copy
> but
> > not delete and create.
> >
> > TIA,
> > Mr O.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com