Remove the "owner" and just do "mount /mnt/flash" as a user.

On Tue, 29 Oct 2002, Matthias Loeser wrote:

> Hi,
> I added 'user' to fstab, rebooted and still don't have permission to mount the 
>device as
> user:
> 
> This is the portion of my fstab file now:
> 
> /dev/sda1    /mnt/flash    auto      noauto,owner,kudzu,user     0 0
> /dev/sda1    /flash        auto      noauto,owner,kudzu,user     0 0
> 
> Then I mounted with
> mount -t vfat -O user /dev/sda1 /mnt/flash
> 
> Back as normal user I get the message "mount: only root can do that" when trying to
> mount it.
> 
> glab-pc3:75> pwd
> /mnt
> glab-pc3:75> ls -al | grep flash
> drwxr-xr-x    2 root     root        16384 Oct 29 19:10 flash
> 
> Also I tried to change the permissions to rwx for everybody but even though the 
>command
> doesn't report any error msg it doesn't work.
> Am I missing something?
> Thanks,
> -Matthias
> 
> 
> "Stephen J. Gowdy" wrote:
> 
> > If you mouted it as root then root is the owner. If you add "user" to the
> > fstab options then you can mount it as a user and write to it as a user.
> >
> > On Tue, 29 Oct 2002, Matthias Loeser wrote:
> >
> > > Hi,
> > > I mounted the SDDR-31 as /dev/sda1 using RedHat Linux:
> > >
> > > glab-pc3:51> mount | grep flash
> > > /dev/sda1 on /flash type vfat (rw)
> > >
> > > The access works fine as long as I'm logged in as root. Otherwise I can only read
> > > from flash but not write - I always get a 'Permission denied' error.  Anybody 
>knows
> > > how to fix that?
> > > Thanks,
> > > -Matthias
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > [EMAIL PROTECTED]
> > > To unsubscribe, use the last form field at:
> > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> > >
> >
> > --
> >  /------------------------------------+-------------------------\
> > |Stephen J. Gowdy                     | SLAC, MailStop 34,       |
> > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
> > |http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
> > |EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
> >  \------------------------------------+-------------------------/
> 

-- 
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to