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

Reply via email to