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] executeUser may no permission to access engineConnExec.sh #4470

Open
2 tasks done
chenghuichen opened this issue Apr 14, 2023 · 2 comments
Open
2 tasks done

[Bug] executeUser may no permission to access engineConnExec.sh #4470

chenghuichen opened this issue Apr 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@chenghuichen
Copy link
Contributor

chenghuichen commented Apr 14, 2023

Search before asking

  • I searched the issues and found no similar issues.

Linkis Component

linkis-computation-governance

Steps to reproduce

  1. make any parent path of ENGINECONN_ROOT_DIR to no execute permission for others. For example, ENGINECONN_ROOT_DIR is /home/hadoop/linkis/tmp, and /home/hadoop permission is rwx------ (In fact, default permission of user home is exactly this in centos)
  2. use non-hadoop user as executeUser to submit job, such as hadoop2
  3. see error log that hadoop2 has no permission to /home/hadoop/linkis/tmp/xxxxxx/engineConnExec.sh

Expected behavior

With no execute permission of any parent path of a file, user cannot access that file. ECM should change all parent path of ENGINECONN_ROOT_DIR to have execute permission for others, better to be rwxr-xr-x

Your environment

  • Linkis version used: 1.1.2
  • Environment name and version:
    • cdh-5.14.2
    • hdp-3.1.5
    • hive-2.1.1
    • spark-3.2.1
    • scala-2.12.2
    • jdk 1.8.0_121
    • ....

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@chenghuichen chenghuichen added the bug Something isn't working label Apr 14, 2023
@github-actions
Copy link

😊 Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context.
We will be here shortly.

If you are interested in contributing to our website project, please let us know!
You can check out our contributing guide on
👉 How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
[email protected] community activity information subscribe unsubscribe archive

@chenghuichen chenghuichen changed the title [Bug] executeUser may have no permission to engineConnExec.sh [Bug] executeUser may no permission to access engineConnExec.sh Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@chenghuichen and others