qmi-proxy running as non-root user
Aleksander Morgado
aleksander at aleksander.es
Thu Oct 2 23:50:20 PDT 2014
On Thu, Oct 2, 2014 at 5:10 PM, Prathmesh Prabhu Chromium
<pprabhu at chromium.org> wrote:
> I agree that it's a good idea to include these udev rules as part of
> mbim-proxy/mbim-cli packages, so that different users of these packages will
> be at par with respect to device tagging.
>
> Summarizing:
> - Remove explicit checks for the user launching the proxy
> - Modify checks for clients of the proxy so that they have the same gid as
> the proxy
> - Include udev rules to CHMOD the relevant devices to be accessible by the
> proxy group.
>
> I think it's better to use groups rather than users, since that is the
> intention of groups, right?
> Also, should the actual group-name be a compile time option? Needs to be
> compile time because we need to generate the correct udev rules.
>
Yes, something like --with-proxy-group-name=whatever.
> I can prepare these patches. I'll need help testing modems that I don't
> have.
> Let me know if I should hack on this.
I personally think it's a good idea to have this implemented, so
you're very welcome :)
I'll test with all modems I have once it's ready to test.
--
Aleksander
https://aleksander.es
More information about the libqmi-devel
mailing list