Yes, that’s exactly what we’ve done.

Thank you.

> On 5. Jan 2018, at 23:27, Serge E. Hallyn <[email protected]> wrote:
> 
> Quoting Dr. Todor Dimitrov ([email protected]):
>> Hallo,
>> 
>> accessing the /dev/ttyUSB… devices from inside an unprivileged container 
>> requires that the dev nodes are configured with world-writable permissions, 
>> i.e.
>> 
>> crw-rw-rw-    1 root     root      188,   0 Jan  1  1970 /dev/ttyUSB0
>> 
>> Is there a way to make the subordinate user (e.g. subuid 100000) be a member 
>> of a group (e.g. dialout) such that the access to the /dev/ttyUSB… devices 
>> is somewhat restricted, e.g.
>> 
>> crw-rw----    1 root     dialout      188,   0 Jan  1  1970 /dev/ttyUSB0
>> 
>> I guess the reverse configuration would be possible, but not very generic:
>> 
>> crw-rw----    1 root     100000      188,   0 Jan  1  1970 /dev/ttyUSB0
>> 
>> Thanks in advance,
>> Todor
> 
> Would be easier to add an acl to allow 100000 access - see setfacl.
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to