Repository 'tool_factory_2'
hg clone https://toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2

Changeset 107:18e616939a91 (2020-11-28)
Previous changeset 106:6de08f44e551 (2020-11-28) Next changeset 108:e878bfc6b80c (2020-11-29)
Commit message:
Uploaded
modified:
toolfactory/rgToolFactory2.py
b
diff -r 6de08f44e551 -r 18e616939a91 toolfactory/rgToolFactory2.py
--- a/toolfactory/rgToolFactory2.py Sat Nov 28 00:50:29 2020 +0000
+++ b/toolfactory/rgToolFactory2.py Sat Nov 28 02:52:24 2020 +0000
[
@@ -725,8 +725,6 @@
             slogl = str(rlog).split("\\n")
             slog = "\n".join(slogl)
             tout.write(f"## got rlog {slog} from {cl}\n")
-
-        dgroup = grp.getgrnam("docker")[2]
         if os.path.exists(self.tlog):
             tout = open(self.tlog, "a")
         else:
@@ -749,15 +747,13 @@
             user="biodocker",
             volumes={f"{tvolname}": {"bind": "/toolfactory", "mode": "rw"}},
         )
-        cl = f"groupmod -g {dgroup} docker"
-        prun(container, tout, cl, user="root")
         cl = f"mkdir -p {destdir}"
         prun(container, tout, cl, user="root")
         cl = f"rm -rf {destdir}/*"
         prun(container, tout, cl, user="root")
         ptestpath = os.path.join(destdir, "tfout", xreal)
         self.copy_to_container(self.tooloutdir, destdir, container)
-        cl = "chmod -R a+rwx /toolfactory"
+        cl = "chown -R biodocker /toolfactory"
         prun(container, tout, cl, user="root")
         rlog = container.exec_run(f"ls -la {destdir}")
         ptestcl = f"planemo test  --update_test_data  --no_cleanup --test_data {destdir}/tfout/test-data --galaxy_root /home/biodocker/galaxy-central {ptestpath}"