EPrints Technical Mailing List Archive

Message: #00813


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

[EP-tech] Re: problem on permisions


Ciao Yuri!

you did the good operations, but in the wrong place (I think)!
try this:

(note the eprints:www-data)

$ sudo chown -R eprints:www-data /usr/share/eprints3/
$ sudo chmod -R 02775 /usr/share/eprints3/archives/

Best,

Denis



On 29/06/2012 10:15, Yuri wrote:
I've a test site with a copy of our eprints repository. In this site
everything works but index of modified items (cannot find them using
eprintid) and this:

------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Failed to write
/usr/share/eprints3/archives/XXXX/html/it/view/dottorato/FusionScienceandEngineering=5Fcorsi=5F24.title:
Operation not permitted

this is the situation:


servercopy:/usr/share/eprints3/archives/XXXX/html/it# ls -l
/usr/share/eprints3/archives/XXXX/html/it/view/dottorato/FusionScienceandEngineering\=5Fcorsi\=5F24.title
-rwxrwsr-x 1 eprints eprints 37 30 mar 11.36
/usr/share/eprints3/archives/XXXX/html/it/view/dottorato/FusionScienceandEngineering=5Fcorsi=5F24.title

and this:


www-data:x:33:eprints
eprints:x:107:www-data

apache runs as www-data and should be able to modify the file, isn't it?
I've also chowned and chmodded as here:
http://wiki.eprints.org/w/Moving_a_repository#Migrate_the_repository

$ sudo chown -R eprints:eprints /opt/eprints3/
$ sudo chmod -R 02775 /opt/eprints3/archives/

Any idea? Thanks!


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