~stub/mojo/entry-points

« back to all changes in this revision

Viewing changes to mojo/contain.py

  • Committer: Paul Collins
  • Date: 2020-07-31 01:33:23 UTC
  • mto: This revision was merged to the branch mainline in revision 567.
  • Revision ID: paul.collins@canonical.com-20200731013323-8bpew4t07ia1y2bs
fix a couple of probably buggy string contatenations

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
            time.sleep(10)
253
253
            uid_in_container = self._container_uid_offset
254
254
        if uid_in_container:
255
 
            cmd = ["setfacl", "-Rdm" "u:{}:rwX".format(uid_in_container), self.container_root]
 
255
            cmd = ["setfacl", "-Rdm", "u:{}:rwX".format(uid_in_container), self.container_root]
256
256
            logging.info("Setting acls inside container: {}".format(" ".join(cmd)))
257
257
            subprocess_run(cmd)
258
258
        else: