Merge pull request #1936 from retropc/devel

fix security vulnerability in lxc module
reviewable/pr18780/r1
René Moser 9 years ago
commit e94f28771b

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

Loading…
Cancel
Save