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> 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
>
>
>
> [image: 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
> 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