EPrints Technical Mailing List Archive
Message: #00814
< 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
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: problem on permisions
- From: Yuri <yurj@alfa.it>
- Date: Fri, 29 Jun 2012 10:43:00 +0200
Il 29/06/2012 10:22, Denis Pitzalis ha scritto:
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/
sure I did it as eprints:www-data, I forgot to change and just copied from the wiki when writing the email :)
but I can see the file is eprints:eprints.. anyway, www-data is in the eprints group (and the eprint user is in the www-data group), so it should work anyway., shouldn't?
I'll redo chown/chmd again, to see if something change.
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/*** 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/
- References:
- [EP-tech] problem on permisions
- From: Yuri <yurj@alfa.it>
- [EP-tech] Re: problem on permisions
- From: Denis Pitzalis <denis.pitzalis@gmail.com>
- [EP-tech] problem on permisions
- Prev by Date: [EP-tech] Re: problem on permisions
- Next by Date: [EP-tech] Importing records by XML still defective with --update?
- Previous by thread: [EP-tech] Re: problem on permisions
- Next by thread: [EP-tech] Importing records by XML still defective with --update?
- Index(es):