We are currently on DSpace 4.1. We have this setup in multiple testing instances since about one year and as an productive System since 01.10.2014.

the important part is that user tomcat7 has the permission to read/write to /dspace directory (or where you have installed it) and its content.



Am 22.12.2014 um 15:31 schrieb Baker, David A.:

Christian, what version of DSpace are you running? How long have you been running it like this?
Thanks!

Christian Scheible <http://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.net&q=from:%22Christian+Scheible%22> Mon, 22 Dec 2014 01:17:27 -0800 <http://www.mail-archive.com/search?l=dspace-tech@lists.sourceforge.net&q=date:20141222>

We just add the users dspace and tomcat7 to a shared group (like dspace) and recursivly add read/write permissions to the group for the dspace files and folders.

Am 20.12.2014 um 09:34 schrieb Hilton Gibson:

Hi David

This is what I do: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S08#Step_8.5_Setup_Tomcat_server_permissions

Cheers

hg

*Hilton Gibson*

Ubuntu Linux Systems Administrator

JS Gericke Library

Room 1025C

Stellenbosch University

Private Bag X5036

Stellenbosch

7599

South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 19 December 2014 at 22:33, Baker, David A. <daba...@milligan.edu <mailto:daba...@milligan.edu>> wrote:

    I’m doing some testing using Ubuntu server 14.04.1 and DSpace 4.2

    Ubuntu’s package manager creates a service user, tomcat7, for

    running Tomcat. So instead of fighting with Ubuntu, I am using

    that user to run the Tomcat service. Also, I have created a Linux

    user account, dspace, that I log into the server with.

    Is it OK that I did my Maven/Ant build/install using my normal

    user, dspace, and then gave ownership and permissions of  all of

    my dspace files to the Tomcat user, tomcat7?

    Ubuntu gives the tomcat7 user a home directory of

    “/usr/share/tomcat7” and a shell of “/bin/false”, so without

    changing the user I am unable to do any building with it. Would it

    be better if I were to assign “/home/tomcat7” to my Tomcat service

    user so it can do the build, or is there some reason that the

    Ubuntu package manager has assigned “/usr/share/tomcat7” as the

    home directory? I don’t want to break the service user account,

    and I don’t want to cause some problem down the road by doing the

    build/install with a normal user.

    Thanks for any info!

--

    David Baker

    Digital Resources & Web Development Specialist

    Milligan College – P.H. Welshimer Memorial Library

    423-461-8703 | library.milligan.edu <http://library.milligan.edu/>

    sig

------------------------------------------------------------------------------

    Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

    from Actuate! Instantly Supercharge Your Business Reports and

    Dashboards

    with Interactivity, Sharing, Native Excel Exports, App Integration

    & more

    Get technology previously reserved for billion-dollar

    corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________

    DSpace-tech mailing list

    DSpace-tech@lists.sourceforge.net

    <mailto:DSpace-tech@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/dspace-tech

    List Etiquette:

https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

from Actuate! Instantly Supercharge Your Business Reports and Dashboards

with Interactivity, Sharing, Native Excel Exports, App Integration & more

Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech

List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--

Christian Scheible

Softwareentwickler / Abt. Content-basierte Dienste

Kommunikations-, Informations- und Medienzentrum (KIM)

Universität Konstanz

78457 Konstanz

+49 (0)7531 / 88-2857

Raum B 703

------------------------------------------------------------------------------

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

from Actuate! Instantly Supercharge Your Business Reports and Dashboards

with Interactivity, Sharing, Native Excel Exports, App Integration & more

Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________

DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech

List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Christian Scheible
Softwareentwickler / Abt. Content-basierte Dienste
Kommunikations-, Informations- und Medienzentrum (KIM)
Universität Konstanz
78457 Konstanz
+49 (0)7531 / 88-2857
Raum B 703

------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to