[EP-tech] Apache can't write ?
W.Koster at rug.nl
Thu Jul 3 08:11:50 BST 2014
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:
Can't open to write to file:
Failed to mkdir
denied / Unable to write to
All dirs are owned by eprints:eprints
root:/usr/share/eprints3/archives/theoluniv/html# ls -l
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 ?
(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)
More information about the Eprints-tech