From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH 1/2] gnu: libmtp: Grant "audio" group access to device files. Date: Mon, 26 Dec 2016 14:02:29 +0100 Message-ID: <871swvkkde.fsf@elephly.net> References: <20161226005905.1796-1-cmmarusich@gmail.com> <20161226005905.1796-2-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]:42980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLVdu-00046g-Bm for guix-devel@gnu.org; Mon, 26 Dec 2016 08:48:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLVdr-0001tK-4Q for guix-devel@gnu.org; Mon, 26 Dec 2016 08:48:46 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cLVdq-0001mw-SF for guix-devel@gnu.org; Mon, 26 Dec 2016 08:48:43 -0500 In-reply-to: <20161226005905.1796-2-cmmarusich@gmail.com> 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 writes: > * gnu/packages/libusb.scm (libmtp): Set udev group to "audio". > --- I just checked how it=E2=80=99s done on Debian and Fedora. Neither pass th= is configuration flag. On a Fedora system I can access I see that the udev rules that come with libmtp do not specify any group or mode. This doesn=E2=80=99t mean that we should not do this, but it=E2=80=99s susp= icious. Maybe there=E2=80=99s something else we=E2=80=99re overlooking here? I also think that using the =E2=80=9Caudio=E2=80=9D group would be wrong. = This is for MTP devices, so maybe it would be better to add an =E2=80=9Cmtp=E2=80=9D gr= oup. https://gmtp.sourceforge.io/usage.html says this about root: Q. Do I need root access to use gMTP? A. [=E2=80=A6] On Linux, in general No, as libmtp should have set your = udev rules correctly for libmtp known devices. And since neither Fedora nor Debian configures libmtp such that the devices are owned by a particular group, I wonder if maybe that=E2=80=99s n= ot actually necessary. --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC http://elephly.net