From 7575a499382a52a572092db2218736f5d73363bf Mon Sep 17 00:00:00 2001 From: Xavi Leon Date: Thu, 8 Dec 2011 16:15:45 -0500 Subject: [PATCH] Change btrfs subvolume default permissions for the guest FS to 755 instead of 700 (which prevents regular users to use the guest fs). --- sliver_lxc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sliver_lxc.py b/sliver_lxc.py index 4eb5229..1b64f34 100644 --- a/sliver_lxc.py +++ b/sliver_lxc.py @@ -52,6 +52,8 @@ class Sliver_LXC(lv.Sliver_Libvirt): # subvolume) command = ['btrfs', 'subvolume', 'snapshot', refImgDir, containerDir] logger.log_call(command, timeout=15*60) + command = ['chmod', '755', containerDir] + logger.log_call(command, timeout=15*60) # TODO: set quotas... -- 2.43.0