[EP-tech] Re: Permission denied error installing plugin
mamalos at eng.auth.gr
Wed Nov 25 15:42:25 GMT 2015
On 25/11/2015 05:26 μμ, Thomas Lauke wrote:
> Hi Kahena,
> did you check the set[GU]ID-attribute of your script causing the initial error message 'Failed to mkdir /usr/share/eprints/lib/epm/recollect: Permission denied'?
> This setting/attribute could cause to run the script with a different effective user who owns this script ...
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
In my repos my ~eprints directory is owned by eprints UID and www-data
GID, and www-data has write permissions. Hence, a:
# chown -R eprints:www-data ~eprints
# chmod -R g+w ~eprints
sets my permissions as they're supposed to be. Adding a:
#chmod -R o-rwx ~eprints
makes things a bit more strict, but allows only apache and eprints user
to make changes in my repo.
I think if you have such permissions your configuration will work.
IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)
School of Electrical and Computer Engineering
Aristotle University of Thessaloniki
phone number : +30 (2310) 994379
More information about the Eprints-tech