Set perms on attach of USB umass disk
rsmith at xs4all.nl
Thu Nov 1 13:13:27 PDT 2007
On Thu, Nov 01, 2007 at 10:53:00AM -0700, Darren Spruell wrote:
> I've been trying (and failing) to figure out how to adjust ownership
> or permissions of a USB memory stick on device attach.
> I've tried altering devfs.conf but this appears to only work for
> devices that are attached at startup of devfs.
As a matter of fact, this is documented in the devfs.conf manual page.
This will also tell you where to look;
> What's the right way to handle this?
You'll have to use devfs.rules. See 'man devfs.rules'
The fact that there are two configuration files is a bit confusing. But
that is because of the way removable devices are handled.
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071101/1f8ea9db/attachment.pgp
More information about the freebsd-questions