[EP-tech] Re: Easydeposit and EPrints.

Tim Brody tdb2 at ecs.soton.ac.uk
Fri Dec 14 16:28:23 GMT 2012


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
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20121214/16c8c3ae/attachment.bin 


More information about the Eprints-tech mailing list