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

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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • master, 5.0.3
    • None
    • None
    • None

    Description

      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`

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: