Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.10, 1.11.1
-
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.