We created a shared oozie workflow in hue. The workflow directory was /user/hue/oozie/workspace. Permission of the workflow was 755. We expected other users could run this shared workflow as well. However, permission of the workflow was modified to 711 after it had been submitted by workflow owner. Then other oozie users could not run that workflow any more. We checked the source code of Submission.py and found out different behaviors for workflow owner and other users. For the owner, the deployment directory is /user/hue/oozie/workspace and permission is changed to 711 if it exists. For other users, the deployment directory is /user/hue/oozie/deployments, workflow is copied to that directory and permission is set to 711. We were wondering whether this is a bug or designed intentionally.
- is duplicated by
HUE-2344 [oozie] Shared workflows can have HDFS permissions problems