Merge pull request #1936 from retropc/devel

fix security vulnerability in lxc module
This commit is contained in:
René Moser 2016-04-01 07:43:23 +02:00
commit e94f28771b

View file

@ -571,7 +571,7 @@ def create_script(command):
f.close()
# Ensure the script is executable.
os.chmod(script_file, 1755)
os.chmod(script_file, 0700)
# Get temporary directory.
tempdir = tempfile.gettempdir()