EPrints Technical Mailing List Archive

Message: #05169


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

[EP-tech] Re: Permission denied error installing plugin


In the lib folder, does the epm folder also have write permission for the group?

 

Lizz

 

--

Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2015)

Technical Data Officer

The Library 4.10, University of Bath, Bath, BA2 7AY UK

Ext. 3570 (External 01225 383570)

E.Jennings@bath.ac.uk

Research Data Management: http://www.bath.ac.uk/research/data

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Morrissey, Kahena
Sent: 25 November 2015 12:55
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Permission denied error installing plugin

 

Hi Everyone,

 

I am setting up a test EPrints instance and I have been trying to install a plugin without much success.

 

I am getting the error below when trying to install the ReCollect plugin.

 

“Error operating on /usr/share/eprints/lib/epm/recollect/cfg/autocomplete/: Permission denied”

 

The apache error logs indicate that it cannot make the directory:

Failed to mkdir /usr/share/eprints/lib/epm/recollect: Permission denied

 

 

I have added  the “apache” user to the “eprints” group and the “eprints“ user to the “apache” group

 

My httpd.conf has been modified to have the  “User” and “Group” as eprints.

 

All the files in /usr/share/eprints are owned by eprints and the user and group permissions on the files are all the same.

 

total 132

-rw-rw-r--.  1 eprints eprints     7 Apr 16  2015 VERSION

-rw-rw-r--.  1 eprints eprints  1382 Apr 16  2015 AUTHORS

drwxrwx---.  2 eprints eprints     6 Apr 16  2015 var

-rw-rw----.  1 eprints eprints 92927 Apr 16  2015 SIGNATURES

drwxrwx---.  2 eprints eprints  4096 Nov 23 14:30 bin

drwxrwx---.  5 eprints eprints  4096 Nov 23 14:30 cgi

drwxrwx---. 12 eprints eprints  4096 Nov 23 14:30 lib

drwxrwx---.  2 eprints eprints  4096 Nov 23 14:30 licenses

drwxrwx---. 21 eprints eprints  4096 Nov 23 14:30 perl_lib

drwxrwx---.  4 eprints eprints    27 Nov 23 14:30 testdata

drwxrwx---.  2 eprints eprints  4096 Nov 23 14:30 tests

drwxrwx---.  6 eprints eprints  4096 Nov 23 14:30 tools

drwxrwx---.  3 eprints eprints    20 Nov 23 15:14 archives

drwxrwx---.  4 eprints eprints  4096 Nov 24 15:18 cfg

 

I have manually switched user and created the directory without issue.

 

All changes were followed by httpd restarts and I am running CentOS 7.

 

I have tried the suggestions mentioned in discussion posts below but nothing seems to work.

http://www.eprints.org/tech.php/thread-18322.html

http://www.eprints.org/tech.php/thread-19181.html

http://www.eprints.org/tech.php/17368.html

 

 

Can anyone say what else I may be missing please, as I am at a loss as to what else to try?

 

Thank you in advance.

 

 

 

Best regards,

Kahena