[lxc-devel] [PATCH] Support MS_SHARED /

Serge Hallyn serge.hallyn at canonical.com
Mon Jan 7 15:56:43 UTC 2013


Quoting Alexander Vladimirov (alexander.idkfa.vladimirov at gmail.com):
> I also noticed device nodes having strange permissions when /dev is
> being auto-populated
> 
> [idkfa at lxc0 ~]$ ls -la /dev/{null,tty,urandom,zero,full}
> crwxr-xr-x 1 root root 1, 7 Jan  6 05:56 /dev/full
> crwxr-xr-x 1 root root 1, 3 Jan  6 05:56 /dev/null
> crwxr-xr-x 1 root root 5, 0 Jan  6 05:56 /dev/tty
> crwxr-xr-x 1 root root 1, 9 Jan  6 05:56 /dev/urandom
> crwxr-xr-x 1 root root 1, 5 Jan  6 05:56 /dev/zero

What did you expect them to be?

That is how they are on my host, apart from /dev/tty being owned by
group tty, which it is in my lxc.autodev container as well.

-serge




More information about the lxc-devel mailing list