Change btrfs subvolume default permissions for the guest FS to 755 instead of
[nodemanager.git] / sliver_lxc.py
index 4eb5229..1b64f34 100644 (file)
@@ -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...