Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1815

Prevent pegasus-lite failure when user passes -w to docker

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major Major
    • master, 5.0.3
    • Affects Version/s: None
    • Component/s: None
    • None

      Pegasus Lite invokes the user script as follows

      su $cont_user -c \"./6mAcalling_1_extractCCS_ID0000001-cont.sh \"

      The above breaks if the user overrides docker command with -w flag.

      Consider changing the invocation to

      su $cont_user -c \"/scratch/6mAcalling_1_extractCCS_ID0000001-cont.sh \"

      and the cont.sh file should execute cd `dirname $0`

            Assignee:
            vahi Karan Vahi
            Reporter:
            mayani Rajiv Mayani
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: