Merge pull request #1936 from retropc/devel
fix security vulnerability in lxc module
This commit is contained in:
commit
e94f28771b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue