[PATCH v3] libqmi-glib, proxy: Change ownership of QMI devices to the configured user.

Roshan Pius rpius at google.com
Mon Dec 22 09:47:14 PST 2014


Yeah. I was also trying to grant group specific access to devices instead
of a specific user. But, the GCredentials library that we use to find the
authentication info does not support group name retrieval currently:
https://developer.gnome.org/gio/stable/GCredentials.html. So, that's the
reason we moved to user specific authentication.

Thanks,
Roshan Pius

PS: I have merged the same change to libmbim so that we're in sync with
libqmi.

On Mon Dec 22 2014 at 12:47:10 AM Aleksander Morgado <
aleksander at aleksander.es> wrote:

> On Fri, Dec 19, 2014 at 9:07 PM, Aleksander Morgado
> <aleksander at aleksander.es> wrote:
> > Thinking of this a bit further, I wonder if there is some easy way to
> > instead of changing ownership, change group and g+rw (that is easy)
> > and then let qmi-proxy check if the given UID is part of the specific
> > group. Looking at the device lis under my /dev I see all devices owned
> > by root, but with specific RW groups instead.
>
> Leaving this thing aside for now. I understand that the ownership
> change that we already have now is something valuable on itself when
> building custom systems where a default unprivileged user needs to
> access the modem.
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20141222/398f4c3d/attachment.html>


More information about the libqmi-devel mailing list