git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5c7013a
)
Change btrfs subvolume default permissions for the guest FS to 755 instead of
author
Xavi Leon
<xleon@ac.upc.edu>
Thu, 8 Dec 2011 21:15:45 +0000
(16:15 -0500)
committer
Xavi Leon
<xleon@ac.upc.edu>
Thu, 8 Dec 2011 21:15:45 +0000
(16:15 -0500)
700 (which prevents regular users to use the guest fs).
sliver_lxc.py
patch
|
blob
|
history
diff --git
a/sliver_lxc.py
b/sliver_lxc.py
index
4eb5229
..
1b64f34
100644
(file)
--- 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...