From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PtgAo-000793-6R for garchives@archives.gentoo.org; Sun, 27 Feb 2011 12:56:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2529F1C01F; Sun, 27 Feb 2011 12:54:29 +0000 (UTC) Received: from smtp.tecnet.com.uy (smtp.tecnet.com.uy [200.40.123.43]) by pigeon.gentoo.org (Postfix) with ESMTP id 94F111C01F for ; Sun, 27 Feb 2011 12:54:28 +0000 (UTC) Received: from acme7.acmenet (r190-134-40-72.dialup.adsl.anteldata.net.uy [190.134.40.72]) by smtp.tecnet.com.uy (8.13.7/8.13.7) with ESMTP id p1RCsHCd000617 for ; Sun, 27 Feb 2011 10:54:20 -0200 (envelope-from ljc@internet.com.uy) X-TN_STAT: 4129 Date: Sun, 27 Feb 2011 10:54:22 -0200 From: luis jure To: gentoo-user Subject: Re: [gentoo-user] Re: automounting usb drives [SOLVED] Message-ID: <20110227105422.789e5443@acme7.acmenet> In-Reply-To: <201102271351.19545.paulcol@andor.dropbear.id.au> References: <20110225233107.04405a5b@acme7.acmenet> <201102271132.52892.paulcol@andor.dropbear.id.au> <20110227001037.04a0339c@acme7.acmenet> <201102271351.19545.paulcol@andor.dropbear.id.au> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0b1 (smtp.tecnet.com.uy [200.40.123.43]); Sun, 27 Feb 2011 10:54:20 -0200 (UYST) X-Archives-Salt: X-Archives-Hash: 37c2c8b30745bf769f8d75d50f898db6 on 2011-02-27 at 13:51 Paul Colquhoun wrote: >Hmmm. "equery b" for /etc/PolicyKit/PolicyKit.conf or >just /etc/PolicyKit doesn't return any packages on my system. from what i could find on the web, it seems to me that /etc/PolicyKit/PolicyKit.conf belongs to a deprecated policykit package, superseded (at least on my system) by polkit, the configuration files of which are under /etc/polkit-1 now, i found lots of examples on the web how to configure the old PolicyKit.conf file to allow normal users mount usb devices, but it took some time to find out how to configure the polkit files. here's what i found, and it works: /etc/polkit-1/localauthority.conf.d/50-localauthority.conf : [Configuration] AdminIdentities=unix-group:wheel /etc/polkit-1/localauthority/50-local.d/11-my-polkit-udisks.pkla [udisks full access] Identity=unix-user: Action=org.freedesktop.udisks.* ResultAny=yes [http://forums.gentoo.org/viewtopic-t-858965-postdays-0-postorder-asc-start-25.html] i guess that in the second file i could also use unix-group:wheel (or users or whatever) instead of unix-user, but i'm the only one using this machine, so it's just as well. now automounting "just works", without needing anything else, like udev rules or additional automonting packages. PENDING ISSUE: on thunar (and xfce, the other file manager i occasionally use) i can eject the drive but no umount it (i mean the ability to umount the file system but not delete the mount point under /media) a big thank you (und vielen dank) to everybody! lj