]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure non-root can read /proc/meminfo file in LXC containers
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 4 Jun 2013 16:37:03 +0000 (17:37 +0100)
committerCole Robinson <crobinso@redhat.com>
Thu, 11 Jul 2013 21:42:26 +0000 (17:42 -0400)
commit1a6333f842525e331508ad05a85508d3d31eb2d8
treeeb1c099597720f6322f39bd879d0e1bafa461ed0
parent17cdc298acf4496d6fe5084b4668d916a8d0397a
Ensure non-root can read /proc/meminfo file in LXC containers

By default files in a FUSE mount can only be accessed by the
user which created them, even if the file permissions would
otherwise allow it. To allow other users to access the FUSE
mount the 'allow_other' mount option must be used. This bug
prevented non-root users in an LXC container from reading
the /proc/meminfo file.

https://bugzilla.redhat.com/show_bug.cgi?id=967977

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 922ebe4ead4a30a6a94731d31b980d0eae113894)
src/lxc/lxc_fuse.c