I’m just curious as to why DSpace and Tomcat need to be run as the same user.
I’ve often set built DSpace using a “dspace” user, then forgotten to switch ownership to Tomcat, and I’ve gotten errors when running DSpace for the first time.
However, with subsequent builds, when I revert back to “dspace” and forget to switch back to “tomcat”, I don’t receive those errors anymore.
I tend to install Tomcat via apt-get or yum so I don’t have the control of installing Tomcat as the DSpace user.
Any tips or best practices on this one? (Rather than switching back and forth between a “builder” user and a “server” user)