Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug][worker]角色首次运行是root权限会导致后续指定用户无法启动 #611

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

blackflash997997
Copy link
Contributor

@blackflash997997 blackflash997997 commented Sep 10, 2024

Purpose of the pull request

有的组件如:dinky,指定启动用户为dinky,但是在首次启动时,用于runas指定为null,则是root用户启动,导致启动后生成的pid文件和log文件的权限为root,后续再用dinky用户启动则权限错误。

Brief change log

第一次启动传入runAs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant