Weirdness with permissions after mounting USB flash drive

Paul Murphy pnmurphy at cogeco.ca
Tue Oct 21 15:34:23 PDT 2003


On Tue, 21 Oct 2003 14:26:17 +0200
Jean-Baptiste Quenot <jb.quenot at caraldi.com> wrote:

> * Paul Murphy:
> 
> > Jean-Baptiste Quenot <jb.quenot at caraldi.com> wrote:
> >
> > > * Paul Murphy:
> > >
> > > >  I _can_ read/write to it as root,  but I would really like to
> > > >  use
> > > > it as a non-root user. Any thoughts as to why this is happening?
> > >
> > > [...] in  /etc/fstab you may  adjust the  mode, see below  -m700
> > > for msdos filesystem:
> > >
> > > /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0
> >
> > fstab: /dev/da0s1 /flash_drive msdos rw,-m775,noauto 0 0
> >
> >
> > mounted  permisions:  d---------  1  root  wheel  22016  Dec  31 
> > 1979 flash_drive
> 
> FWIW you could check if your  specific FreeBSD supports the -m switch
> by looking at the mount_msdosfs man page.
> 

 Seems to, at least the man page says so.

 Also tried 'chmod 755 /flash_drive' after the fact, but it is silently
ignored.

 I'm stumped!

-- 
Cogeco ergo sum
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031021/d93c7b41/attachment.bin


More information about the freebsd-questions mailing list