EPrints Technical Mailing List Archive

Message: #01397


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Easydeposit and EPrints.


On Fri, 2012-12-14 at 16:08 +0000, Ian Stuart wrote:
> Aha - nice and easy, this one.... you have a few possibles:
> 
> 1) make the whole directory tree below 
> /usr/share/eprints3/archives/witeprints/documents/ readable by the 
> apache server (mainly by setting group permissions), or

I think Stuart means *writable* !

Add apache to the 'eprints' group (/etc/group).

chmod -R g+S archives/[archiveid]/documents/
chgrp -R eprints archives/[archiveid]/documents/
chmod -R g+wX archives/[archiveid]/documents/

Should do the trick.

> 2) edit perl_lib/EPrints/SystemSettings.pm and set 'file_perms' & 
> 'dir_perms' to make EPrints create globally read/write-able data
> 
> The other one it could have been would be the temporary unpacking - 
> however that tends to be into /tmp - so is not normally a problem :)
> 
> 
> 
> On 14/12/12 15:47, David Kane wrote:
> > Hi Ian,
> >
> > I am not sure what the x-noop flag is, but I am getting this error
> > message in the apache log for my EPrints installation:
> >
> >
> >
> > Failed to mkdir
> > /usr/share/eprints3/archives/witeprints/documents/disk0/00/00/21/31:
> > Permission denied
> > Unable to write to
> > /usr/share/eprints3/archives/witeprints/documents/disk0/00/00/21/31/01/329137284.zip:
> > No such file or directory
> 
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part