{"action":"created","issue":{"url":"https://api.github.com/repos/adaptivecomputing/torque/issues/400","repository_url":"https://api.github.com/repos/adaptivecomputing/torque","labels_url":"https://api.github.com/repos/adaptivecomputing/torque/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/adaptivecomputing/torque/issues/400/comments","events_url":"https://api.github.com/repos/adaptivecomputing/torque/issues/400/events","html_url":"https://github.com/adaptivecomputing/torque/issues/400","id":188846456,"number":400,"title":"every job stderr returns \"permission denied\"","user":{"login":"wghilliard","id":1715234,"avatar_url":"https://avatars.githubusercontent.com/u/1715234?v=3","gravatar_id":"","url":"https://api.github.com/users/wghilliard","html_url":"https://github.com/wghilliard","followers_url":"https://api.github.com/users/wghilliard/followers","following_url":"https://api.github.com/users/wghilliard/following{/other_user}","gists_url":"https://api.github.com/users/wghilliard/gists{/gist_id}","starred_url":"https://api.github.com/users/wghilliard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wghilliard/subscriptions","organizations_url":"https://api.github.com/users/wghilliard/orgs","repos_url":"https://api.github.com/users/wghilliard/repos","events_url":"https://api.github.com/users/wghilliard/events{/privacy}","received_events_url":"https://api.github.com/users/wghilliard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-11T20:42:10Z","updated_at":"2016-11-11T22:27:24Z","closed_at":null,"body":"Hello, I have installed torque from source with the pam module (and without the pam module) and every time a non-root user submits a job, the stderr output file prints some variant of the following: \r\n\r\n    $USER@mybox: qsub myscript.sh\r\n    -bash: line 1: /var/spool/torque/mom_priv/jobs/0.mybox.SC: Permission denied\r\n\r\n    $USER@mybox: cat myscript.sh\r\n    echo 'hello world'\r\n\r\n     $USER@mybox: stat myscript.sh\r\n     File: 'myscript.sh'\r\n     Size: 25        \tBlocks: 1          IO Block: 512    regular file\r\n     Device: 2bh/43d\tInode: 12718771    Links: 1\r\n     Access: (0777/-rwxrwxrwx)  Uid: ( 1000/$USER)   Gid: ( 1000/$USER)\r\n     Access: 2016-11-07 13:58:41.096290480 -0600\r\n     Modify: 2016-11-07 11:50:04.890717155 -0600\r\n     Change: 2016-11-07 11:50:04.994712220 -0600\r\n     Birth: -\r\n\r\nTorque Version:\r\n\r\n    root@mybox:~# pbs_server --version\r\n    Version: 6.0.2\r\n    Commit: d9a34839a0f975d5c487bbfcf5dcb10b6a8f1e79 \r\n\r\n\r\n./configure output:\r\n\r\n    Building components: server=yes mom=yes clients=yes gui=no drmaa=no pam=yes\r\n    PBS Machine type    : linux\r\n    Remote copy         : /usr/bin/scp -rpB\r\n    PBS home            : /var/spool/torque\r\n    Default server      : mybox\r\n\r\n    Unix Domain sockets : \r\n    Linux cpusets       : no\r\n    Tcl                 : disabled\r\n    Tk                  : disabled\r\n    Authentication      : classic (pbs_iff)\r\n\r\n\r\nOS info\r\n\r\n     root@mybox:~# uname -a\r\n     Linux mybox 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux"},"comment":{"url":"https://api.github.com/repos/adaptivecomputing/torque/issues/comments/260070215","html_url":"https://github.com/adaptivecomputing/torque/issues/400#issuecomment-260070215","issue_url":"https://api.github.com/repos/adaptivecomputing/torque/issues/400","id":260070215,"user":{"login":"dbeer","id":2153898,"avatar_url":"https://avatars.githubusercontent.com/u/2153898?v=3","gravatar_id":"","url":"https://api.github.com/users/dbeer","html_url":"https://github.com/dbeer","followers_url":"https://api.github.com/users/dbeer/followers","following_url":"https://api.github.com/users/dbeer/following{/other_user}","gists_url":"https://api.github.com/users/dbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbeer/subscriptions","organizations_url":"https://api.github.com/users/dbeer/orgs","repos_url":"https://api.github.com/users/dbeer/repos","events_url":"https://api.github.com/users/dbeer/events{/privacy}","received_events_url":"https://api.github.com/users/dbeer/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T22:27:24Z","updated_at":"2016-11-11T22:27:24Z","body":"It seems that the permissions issue is just around the job script on the mom. Did you check the permissions on that directory and any files in it?"}}
{"actor":{"display_login":"dbeer"}}