Not able to download iso files by web browser
Environment
- Red Hat Enterprise Linux
Issue
- Not able to download iso images by web broweser.The iso images are stored in /var/www/html//pub/iso/ directory of the web server. When we try to download them it failed with following error message in the web browser
Permission Error
You do not have the appropriate permission set to access the requested page. You may have reached this error page in one of several ways:
Your login session has expired. For security reasons, Red Hat Network terminates your login session after 15 minutes of inactivity. To sign in again, click here.
You've found an error in our site. Please contact your Support representative with details of how you received this message.
Your browser does not have cookies enabled. The Red Hat Network requires cookies in order to function; if you have disabled them, please re-enable them to use the site.
You've done something naughty. Stop it.
Can see following error message in httpd error log
[Sat Mar 02 12:05:56 2013] [error] [client xx.xx.xx.xx] (13)Permission denied: file permissions deny server access: /var/www/html/pub/iso/test.iso
Resolution
Make sure that the file permission is 644
chmod 644 /var/www/html/pub/iso/*
Root Cause
The permission of the iso files were 640
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments