Uploaded image for project: 'SET - Setups'
  1. SET - Setups
  2. SET-112

Installing JobScheduler on linux with a umask <> 0002 will not create a runnable environment

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.10, 1.11.1
    • 1.10.9, 1.11.6, 1.12
    • None

    Description

      Current Situation

      • When installing JobScheduler on a linux machine all files and directories in SCHEDULER_HOME are created as root:root.
      • Starting JobScheduler is not possible as after a switch to the target user the permissions to start the script ./bin/jobscheduler.sh and the ./bin/jobscheduler_environment_variables.sh sh are not sufficient.
      • If a umask 0027 is set (which corresponds to permission 750)

      Desired Behaviour

      The setup process should perform:

      • chown :user /opt/sos-berlin.com
      • chown :user /opt/sos-berlin.com/jobscheduler
      • chown :user /opt/sos-berlin.com/jobscheduler/scheduler_id
      • chown :user /opt/sos-berlin.com/jobscheduler/scheduler_id/bin
      • chown :user jobscheduler.sh
      • chown :user jobscheduler_environment_variables.sh
      • chown -R :user /opt/sos-berlin.com/jobscheduler/scheduler_id/lib

      Then the JobScheduler user can start JobScheduler.

      Attachments

        Activity

          People

            oh Oliver Haufe
            ur Uwe Risse
            Uwe Risse Uwe Risse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: