chmod force when dealing with mounted rootfses

This commit is contained in:
Sagar Karandikar 2018-07-09 20:50:03 +00:00
parent 572a7bf679
commit 2962801a81
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class FireSimServerNode(FireSimNode):
with StreamLogger('stdout'), StreamLogger('stderr'):
run("""sudo mkdir -p {}""".format(mountpoint))
run("""sudo mount /home/centos/sim_slot_{}/{} {}""".format(simserverindex, self.get_rootfs_name(), mountpoint))
run("""sudo chmod -R 777 {}""".format(mountpoint))
run("""sudo chmod -Rf 777 {}""".format(mountpoint))
## copy back files from inside the rootfs
with warn_only(), StreamLogger('stdout'), StreamLogger('stderr'):