fixed permissions with move step
This commit is contained in:
parent
6bd216615d
commit
3f1155393b
@ -353,10 +353,8 @@ class LinuxMachine:
|
||||
|
||||
if permission is not None:
|
||||
if self.is_folder(source):
|
||||
permission = 755
|
||||
self.run_command(f"chmod -R {permission} {destination}", return_status_code=True)
|
||||
else:
|
||||
permission = 644
|
||||
self.run_command(f"chmod {permission} {destination}", return_status_code=True)
|
||||
|
||||
if owner != "root":
|
||||
|
@ -53,3 +53,4 @@ def launch_lxc(lxc):
|
||||
lxc.create()
|
||||
lxc.start()
|
||||
lxc.run_creation()
|
||||
logging.info(f"Finished loading LXC {lxc.id}")
|
||||
|
Loading…
Reference in New Issue
Block a user