EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03216
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Apache can't write ?
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Apache can't write ?
- From: Lizz Jennings <e.jennings@bath.ac.uk>
- Date: Thu, 03 Jul 2014 09:26:10 +0100
I added eprints to the apache group and apache to the eprints group to enable writing.
Lizz On 03/07/2014 08:11, W. Koster wrote:
Greetings, I've installed eprints on a new ubuntu system using the repository: deb http://deb.eprints.org/ stable/ Now we're getting error messages like: Failed to mkdir /usr/share/eprints3/archives/theoluniv/html/en/archive: Permission denied Can't open to write to file: /usr/share/eprints3/archives/theoluniv/html/en/archive/00/00/00/01/index.html Failed to mkdir /usr/share/eprints3/archives/theoluniv/documents/disk0/00: Permission denied / Unable to write to /usr/share/eprints3/archives/theoluniv/documents/disk0/00/00/00/01/01/Completedissertation.pdf All dirs are owned by eprints:eprints root:/usr/share/eprints3/archives/theoluniv/html# ls -l total 4 drwxrwsr-x 9 eprints eprints 4096 jul 1 15:51 en but apache is running (as per default) as www-data:www-data so it's no wonder apache can't write anywhere. Instead of manually changing all directories to group-www-data or brutally setting write-rights for everyone, is there a more structural solution. Maybe a configuration setting that is missing putting eprints in the www-data group, or something ? Regards, Willem. (it used to work on out old server, but that may have been some manual labor getting it to work which I rather want to avoid) *** 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/
-- Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2013) Technical Data Officer The Library 4.10, University of Bath, Bath, BA2 7AY UK Ext. 3570 (External 01225 383570) E.Jennings@bath.ac.uk
- References:
- [EP-tech] Apache can't write ?
- From: "W. Koster" <W.Koster@rug.nl>
- [EP-tech] Apache can't write ?
- Prev by Date: [EP-tech] Regenerating irstats table
- Next by Date: [EP-tech] Re: generate_views - no list pages...
- Previous by thread: [EP-tech] Apache can't write ?
- Next by thread: [EP-tech] Regenerating irstats table
- Index(es):