gnome 2.8 Changes for FAQ: 19. How do I mount my removablemedia
Joe Marcus Clarke
marcus at marcuscom.com
Thu Oct 7 22:21:48 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Franz Klammer wrote:
| Vladimir Grebenschikov wrote:
|> В чт, 07/10/2004 в 13:24 +0200, Franz Klammer пишет:
|>> . (maybe) OT question: when i insert my memory stick the access right
|>> for the device created by usbd (/dev/da0s1) don't allow access from a
|>> normal user. currently i helped my with a dirty trick:
|>> adding to /etc/devfs.conf:
|>> perm da0s1 0666
|>> and to /etc/usbd.conf:
|>> device "MEGA"
|>> devname "umass0"
|>> attach "/bin/sleep 5; /etc/rc.d/devfs restart"
|>> if there is a (which i'm sure there is) a good solution that
|>> should also be added to the FAQ.
|> I guess it is much better to use devfs.rules file:
|> % cat /etc/devfs.rules
|> add path 'da*' mode 660 group operator
|> add path 'acd*' mode 660 group operator
|> add path 'cd*' mode 660 group operator
|> add path 'pass*' mode 660 group operator
|> add path 'xpt*' mode 660 group operator
|> % fgrep devfs /etc/rc.conf
|> This approach configures device permission on devfs on adding drive
|> automatically, also with ATA-based (or any other not-USB) memory stick
|> there is no USB attach event. ('operator' group can be changed to
|> 'cdrom' or like)
| works (like expected) perfekt! :-)
| another sideeffect of this solution:
| i added myself to group operator. now the logout dialog provides me two
| new options:
| - reboot
| - shutdown
| i don't had to return to gdm to shut down the p
Yep, I added support for this a while ago, but it was only announced on
the list, and never made it to the FAQ.
c now :-)
| freebsd-gnome at freebsd.org mailing list
| To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-gnome