From owner-freebsd-gnome@FreeBSD.ORG Fri Oct 8 05:21:48 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EE6516A4CE for ; Fri, 8 Oct 2004 05:21:48 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8C3F43D1D for ; Fri, 8 Oct 2004 05:21:47 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.2] (vpn-client-2.marcuscom.com [10.2.1.2]) i985LL2c032060; Fri, 8 Oct 2004 01:21:22 -0400 (EDT) (envelope-from marcus@marcuscom.com) Message-ID: <416623F2.4080100@marcuscom.com> Date: Fri, 08 Oct 2004 01:21:54 -0400 From: Joe Marcus Clarke Organization: MarcusCom, Inc. User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Franz Klammer References: <41652770.8040308@webonaut.com> <1097149827.1248.29.camel@localhost> <41654573.6030502@webonaut.com> In-Reply-To: <41654573.6030502@webonaut.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on creme-brulee.marcuscom.com cc: gnome Subject: Re: gnome 2.8 Changes for FAQ: 19. How do I mount my removablemedia in Nautilus? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 05:21:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 |>> set |>> 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 |> [devfsrules_common=7] |> 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 |> devfs_system_ruleset="devfsrules_common" |> % |> 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. Joe c now :-) | | franz. | _______________________________________________ | freebsd-gnome@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-gnome | To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@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 iD8DBQFBZiPyb2iPiv4Uz4cRAuolAKCPMDAl7WNsWnSlY9ZaKiE2ENMrJQCdE0s4 NbLK2KhVy3XpFYS1ZLVNBs8= =dMGS -----END PGP SIGNATURE-----