gridcf / gct

Grid Community Toolkit
Apache License 2.0
46 stars 30 forks source link

globus-job-run fails because of no permission to tmp directory #187

Open longlong10086 opened 2 years ago

longlong10086 commented 2 years ago

I compiled gct6.2 with source code. And I met some errors when submitting my job with globus-job-run . My globus user has no permission to /tmp .

tmp dir

drwxr--r--. 27 root root 229376 4月 15 13:55 tmp

command

globus-job-run node12/jobmanager-fork-poll -np 1 /bin/hostname

error1 in gatekeeper.log

Failure: Unable to create http body tmpfile

For this problem,I found that it was caused by the permissions of the tmp directory after reading the source code. Then I modified the source code and tried to use $TMPDIR as the temporary directory . Now the error above is gone , but I get a new one.

error2

GRAM Job submission failed because the job manager cannot find the user proxy (error code 29).

Now I have a question ,how to use globus when my globus user has no permission to tmp directory(/tmp)? Hope to get your help.

maarten-litmaath commented 2 years ago

Hi, a "tmp" directory used for such purposes needs to have the usual ownership and permissions, like this:

drwxrwxrwt. 106 root root 20480 Apr 15 18:31 /tmp

longlong10086 commented 2 years ago

@maarten-litmaath Thanks for your help. Does this mean that globus cannot be used without tmp permissions?