I'm wondering if someone who has downloads working through apache (using
xsendfile) has encountered this error when downloading HTML files:
(13)Permission denied: xsendfile: cannot open file:
The output from ls -lZ /galaxy_data/production/tmp is:
drwx------. galaxy galaxy unconfined_u:object_r:httpd_sys_content_t:s0
The output from ls-lZ /galaxy_data/production/tmp/tmpN0ydYt/ is:
-rw-rw-r--. galaxy galaxy unconfined_u:object_r:httpd_sys_content_t:s0
It's not a SElinux issue (if I sudo setenforce 0, the problem persists)..
It seems it's a regular permissions issue (user apache is running httpd and
does not permission to enter the tmpN0ydYt). Since galaxy creates these
files with these permissions I don't know how to fix this issue. I'm also
wondering why the HTML datasets are in the tmp folder not the files folder?
Here's my apache config:
RewriteRule ^/galaxy$ /galaxy/ [R]
RewriteRule ^/galaxy(.*) http://localhost:8080$1 [P]
allow from all
# Compress all uncompressed content
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:t?gz|zip|bz2)$ no-gzip dont-vary
# Send files through Apache
# Allow browsers to cache everything from /static for 6 hours
ExpiresDefault "access plus 6 hours"
Is there something wrong with it? Or have I missed something in
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: