github-actions[bot] commented on issue #13116: URL: https://github.com/apache/dolphinscheduler/issues/13116#issuecomment-1339047757
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Dolphinscheduler does some property resets after every restart: 1. The attribute of the worker-server/conf directory is drwx------. 2. The attribute of worker-server/conf/dolphinscheduler_env.sh is rwx------. In this way, when using hadoop or other users to run the flinksql-shell script, Dolphin will first execute worker-server/conf/dolphinscheduler_env.sh, and a permission denied error occurs at this time. Temporary solution: Set the permission of the flink directory to dolphinscheduler:root, and then use the dolphinscheduler user to execute the flinksql-shell script task to avoid errors when executing dolphinscheduler_env.sh. ### What you expected to happen Dolphinscheduler keeps existing worker-server's conf directory and dolphinscheduler_env.sh read properties after each restart. . ### How to reproduce Use other non-root system users to execute a flinksql script. For example: sql-client.sh -f /app/software/flink-1.16.0/test-all.sql ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
