From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Let non-root users use MTP devices (Attempt #2) Date: Thu, 29 Dec 2016 23:44:19 +0100 Message-ID: <877f6ie4os.fsf@gnu.org> References: <87mvfggv4k.fsf@gmail.com> <20161229090121.3718-1-cmmarusich@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMjQx-0007xx-LX for guix-devel@gnu.org; Thu, 29 Dec 2016 17:44:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMjQs-0001Uz-Qo for guix-devel@gnu.org; Thu, 29 Dec 2016 17:44:27 -0500 In-Reply-To: <20161229090121.3718-1-cmmarusich@gmail.com> (Chris Marusich's message of "Thu, 29 Dec 2016 01:01:19 -0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org Chris Marusich 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=E2=80=99.