EPrints Technical Mailing List Archive

Message: #02133


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

[EP-tech] what dir permissions needed


hi

on a Red Hat Enterprise Linux Server release 6.4

i tried to install:

yum install eprints > Error: Package: eprints-3.3.12-1.el6.noarch (rpm-eprints-org)
           Requires: perl(Apache::DBI)
but! Apache::DBI is up to date (1.12).
???



yum install eprints3  (EPrints 3.2.9 (Apple Strudel) [Born on 2011-10-18])
- /opt/eprints3
- sed -i 's/&nbsp;/ /g' /opt/eprints3/lib/lang/en/phrases/system.xml

create archive > ok

start indexer
- Error writing pid file /opt/eprints3/var/indexer.pid: Permission denied at /opt/eprints3/perl_lib/EPrints/Index/Daemon.pm line 107.
???

also: browse by author (http://eprints1.eleph.ch/view/creators/ )
- EPrints System Error. Can't open to write to XML file: /opt/eprints3/archives/eprints1/html/en/view/creators/index.A-==1F19.html
???

default permissions are
drwxrwsr-x. 11 root    root      4096 30. Jul 23:09 .
drwxr-xr-x.  4 root    root      4096 30. Jul 23:09 ..
drwxrwsr-x.  3 eprints eprints   4096 30. Jul 23:47 archives
-rw-rw-r--.  1 root    root      1366 18. Okt 2011  AUTHORS
drwxrwsr-x.  2 root    root      4096 30. Jul 23:09 bin
drwxr-xr-x.  5 eprints eprints   4096 30. Jul 23:09 cfg
drwxrwsr-x.  4 root    root      4096 30. Jul 23:09 cgi
-rw-rw-r--.  1 root    root    282654 18. Okt 2011  CHANGELOG
-rw-rw-r--.  1 root    root     18009 18. Okt 2011  COPYING
drwxrwsr-x. 12 root    root      4096 30. Jul 23:09 lib
-rw-rw-r--.  1 root    root      5562 18. Okt 2011  NEWS
drwxrwsr-x. 17 root    root      4096 30. Jul 23:09 perl_lib
-rw-rw-r--.  1 root    root       222 18. Okt 2011  README
-rw-rw-r--.  1 root    root     73456 18. Okt 2011  SIGNATURES
drwxrwsr-x.  4 root    root      4096 30. Jul 23:09 testdata
drwxrwsr-x.  2 root    root      4096 30. Jul 23:09 tests
drwxrwxr-x.  2 eprints eprints   4096 18. Okt 2011  var
-rw-rw-r--.  1 root    root        65 18. Okt 2011  VERSION

what permission do i need?

thanks
stof