[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: problem on permisions
- Subject: [EP-tech] Re: problem on permisions
- From: denis.pitzalis at gmail.com (Denis Pitzalis)
- Date: Fri, 29 Jun 2012 10:22:16 +0200
- In-reply-to: <EMEW3|4a17d7c90285b0819da11dc3083b4edeo5S9Fe14eprints-tech-bounces|ecs.soton.ac.uk|4FED640A.5000804@alfa.it>
- References: <4FED640A.5000804@alfa.it> <EMEW3|4a17d7c90285b0819da11dc3083b4edeo5S9Fe14eprints-tech-bounces|ecs.soton.ac.uk|4FED640A.5000804@alfa.it>
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/