From: ludo@gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Let non-root users use MTP devices (Attempt #2)
Date: Thu, 29 Dec 2016 23:44:19 +0100 [thread overview]
Message-ID: <877f6ie4os.fsf@gnu.org> (raw)
In-Reply-To: <20161229090121.3718-1-cmmarusich@gmail.com> (Chris Marusich's message of "Thu, 29 Dec 2016 01:01:19 -0800")
Chris Marusich <cmmarusich@gmail.com> skribis:
> Here's a second attempt to fix MTP support for GuixSD. It's simple and
> requires no special group permissions.
>
> It turns out that elogind (like systemd's logind) can be compiled with
> support for ACLs (provided by libacl), in which case elogind will
> automatically set an ACL on a device file granting access to a user when
> that user is logged in using a seat to which the device is attached. In
> short, by adding acl as an input to elogind, users will be able to
> access devices without running programs as root, and without being a
> member of any special group.
Cool!
> * gnu/packages/freedesktop.scm (elogind) [inputs]: Add acl.
Applied with a short comment.
Thank you!
Ludo’.
next prev parent reply other threads:[~2016-12-29 22:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-26 0:59 Let non-root users use MTP devices Chris Marusich
2016-12-26 0:59 ` [PATCH 1/2] gnu: libmtp: Grant "audio" group access to device files Chris Marusich
2016-12-26 13:02 ` Ricardo Wurmus
2016-12-28 11:18 ` Chris Marusich
2016-12-29 9:01 ` Let non-root users use MTP devices (Attempt #2) Chris Marusich
2016-12-29 9:01 ` [PATCH 1/2] gnu: elogind: Enable ACL support Chris Marusich
2016-12-29 9:01 ` [PATCH 2/2] services: desktop: Use libmtp udev rules Chris Marusich
2016-12-29 22:37 ` Ludovic Courtès
2016-12-29 23:57 ` Chris Marusich
2016-12-29 10:15 ` Let non-root users use MTP devices (Attempt #2) Chris Marusich
2016-12-29 22:48 ` Ludovic Courtès
2016-12-30 0:41 ` Chris Marusich
2016-12-29 22:44 ` Ludovic Courtès [this message]
2016-12-26 0:59 ` [PATCH 2/2] services: desktop: Use libmtp udev rules Chris Marusich
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877f6ie4os.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=cmmarusich@gmail.com \
--cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).