EPrints Technical Mailing List Archive
Message: #05172
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Permission denied error installing plugin
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Permission denied error installing plugin
- From: George Mamalakis <mamalos@eng.auth.gr>
- Date: Wed, 25 Nov 2015 17:42:25 +0200
On 25/11/2015 05:26 μμ, Thomas Lauke wrote:
In my repos my ~eprints directory is owned by eprints UID and www-data GID, and www-data has write permissions. Hence, a: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 ... Hth Thomas *** 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/
# 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 ~eprintsmakes 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. -- George Mamalakis 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
- References:
- [EP-tech] Re: Permission denied error installing plugin
- From: Thomas Lauke <th.lauke@arcor.de>
- [EP-tech] Re: Permission denied error installing plugin
- Prev by Date: [EP-tech] Re: Permission denied error installing plugin
- Next by Date: [EP-tech] Re: Permission denied error installing plugin
- Previous by thread: [EP-tech] Re: Permission denied error installing plugin
- Next by thread: [EP-tech] Re: Permission denied error installing plugin
- Index(es):