Error with run as real user, unable to read file

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|

Error with run as real user, unable to read file

Evan Clark-2
We are setting up run as real user but have run into a strange issue.
When the drmaa external script is called it could not load the job json
file. All permissions are set properly and the file exists. Upon
attempting to run the script by itself this error is created. When
loading a test script to open a file there is no issue. If the drmaa
external script is run as root the same issue occurs.

/mnt/ceph/home/galaxy/galaxy/files_directory/database/slurm/11.jt_json
Traceback (most recent call last):
   File "scripts/drmaa_external_runner.py", line 157, in <module>
     main()
   File "scripts/drmaa_external_runner.py", line 146, in main
     load_job_template_from_file(jt, json_filename)
   File "scripts/drmaa_external_runner.py", line 43, in
load_job_template_from_file
     f = open(filename, 'r')
IOError: [Errno 13] Permission denied:
'/mnt/ceph/home/galaxy/galaxy/files_directory/database/slurm/11.jt_json'

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/