Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2003 09:15:58 +0200
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Weirdness with permissions after mounting USB flash drive
Message-ID:  <20031021071556.GA22651@watt.intra.caraldi.com>
In-Reply-To: <20031020225226.795d57f0.pnmurphy@cogeco.ca>
References:  <20031020225226.795d57f0.pnmurphy@cogeco.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031021071556.GA22651>