Weirdness with permissions after mounting USB flash drive
Jean-Baptiste Quenot
jb.quenot at caraldi.com
Tue Oct 21 00:16:02 PDT 2003
* 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?
See FreeBSD FAQ[1]. Also, in /etc/fstab you may adjust the mode, see
below -m700 for msdos filesystem:
/dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0
If /dev is mounted via devfs (FreeBSD 5), you may want to edit
/etc/devfs.conf and add a line like below:
perm da0s1 0666
Cheers,
--
Jean-Baptiste Quenot
http://caraldi.com/jbq/
[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
More information about the freebsd-questions
mailing list