[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: Permission denied error installing plugin
- Subject: [EP-tech] Re: Permission denied error installing plugin
- From: K.Morrissey at bolton.ac.uk (Morrissey, Kahena)
- Date: Thu, 26 Nov 2015 09:15:36 +0000
I have found a solution to the issue and have now installed the plugin without issue. Thank you to everyone who helped.
The problem seems to stem from SELinux being enabled and enforced.
In line with the troubleshooting doc (http://wiki.eprints.org/w/Troubleshooting - A Note on SELinux) the following was set but made no difference:
chcon -R -t httpd_sys_content_t /usr/share/eprints
I found the setting that worked for me was httpd_sys_rw_content_t instead of httpd_sys_content_t to allow read (r) and write (w) giving:
chcon -R -t httpd_sys_content_rw_t /usr/share/eprints
I got the idea from http://stackoverflow.com/questions/28856148/centos-7-apache-php-mkdir-permission-denied
You may find these commands handy as well to check SELinux:
#Check file SELinux security context
ls -Z /usr/share/eprints
# Check SELinux status
# Check whether SELinux is being enforced
I am running CentOS Linux release 7.1.1503 (Core).
I hope that is handy for anyone else who may experience the same issue.
-------------- next part --------------
An HTML attachment was scrubbed...