public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: luis jure <ljc@internet.com.uy>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Re: automounting usb drives [SOLVED]
Date: Sun, 27 Feb 2011 10:54:22 -0200	[thread overview]
Message-ID: <20110227105422.789e5443@acme7.acmenet> (raw)
In-Reply-To: <201102271351.19545.paulcol@andor.dropbear.id.au>

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:<your username>
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





  reply	other threads:[~2011-02-27 12:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26  1:31 [gentoo-user] automounting usb drives luis jure
2011-02-26  1:42 ` Dale
2011-02-26 11:43   ` luis jure
     [not found] ` <ik9tsu$l8q$1@dough.gmane.org>
2011-02-26 11:40   ` [gentoo-user] " luis jure
2011-02-26 22:44     ` walt
2011-02-27  0:04       ` luis jure
2011-02-27  0:32         ` Paul Colquhoun
2011-02-27  2:10           ` luis jure
2011-02-27  2:51             ` Paul Colquhoun
2011-02-27 12:54               ` luis jure [this message]
2011-02-27 19:18                 ` [gentoo-user] Re: automounting usb drives [SOLVED] walt
2011-02-26 12:42 ` [gentoo-user] automounting usb drives Marc Joliet
2011-02-26 13:30   ` luis jure
2011-02-26 14:46     ` luis jure
2011-02-26 14:53       ` [gentoo-user] " Nikos Chantziaras
2011-02-26 15:09         ` luis jure
2011-02-26 15:35           ` Nikos Chantziaras
2011-02-26 14:47     ` [gentoo-user] " Marc Joliet
2011-02-26 15:14       ` luis jure
2011-02-26 16:47         ` Marc Joliet
2011-02-26 15:17     ` Christoph Brendes
2011-02-26 15:27       ` luis jure
2011-02-26 15:41         ` Christoph Brendes
2011-02-27  3:20           ` Duong "Yang" Ha Nguyen
2011-02-27 11:13             ` luis jure
2011-02-27 12:39               ` Stéphane Guedon
2011-02-27 16:58                 ` Stéphane Guedon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110227105422.789e5443@acme7.acmenet \
    --to=ljc@internet.com.uy \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox