guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] gnu: libmtp: Grant "audio" group access to device files.


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
User-agent: mu4e 0.9.16; emacs 25.1.1

Chris Marusich <address@hidden> writes:

> * gnu/packages/libusb.scm (libmtp): Set udev group to "audio".
> ---

I just checked how it’s done on Debian and Fedora.  Neither pass this
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’t mean that we should not do this, but it’s suspicious.
Maybe there’s something else we’re overlooking here?

I also think that using the “audio” group would be wrong.  This is for
MTP devices, so maybe it would be better to add an “mtp” group.

https://gmtp.sourceforge.io/usage.html says this about root:

    Q. Do I need root access to use gMTP?
    A. […] 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’s not
actually necessary.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]