Alan and Mark,
Thanks to you both. Our /opt/projects/dspace directories are owned by the
tomcat user. I wasn't involved in the initial implementation of DSpace on
our server, so I don't know why the dspace user exists. Right now the
dspace user owns the /opt/projects/freelib-djatoka directory tree, which as
I understand it is the jpeg2 converter code that produces display copies of
TIF files that go into dark storage. Those directories have read+execute
access set for all users, so I can't think of any reason that filter-media
would need to run under the dspace account to create jpeg2 files. For now,
I've deleted the crontab entries for the dspace account. When version 7 is
out of beta, I'll see if we still need the dspace account at all when we
upgrade.
Thanks, Kerry
On Thursday, May 13, 2021 at 7:57:15 AM UTC-5 Mark H. Wood wrote:
> On Wed, May 12, 2021 at 07:07:48AM -0700, Kerry Bouchard wrote:
> > After adding a parameter to the filter-media command in our dspace user
> > crontab file and not seeing any difference, I realized that the tomcat
> user
> > on our system also has a crontab file with identical entries. As far as
> I
> > can tell, it's the tomcat crontab that is actually being used. Is there
> a
> > reason for the dspace user to have a crontab file when tomcat does?
>
> I can't think of any. But my question is: is there a reason to have
> separate users 'dspace' and 'tomcat'? Unless you're doing something
> fancy, I would just have an account for Tomcat and let DSpace's
> files be owned by it.
>
> The installation guide seems quite firm that there is a user named
> 'dspace', but that's not at all necessary. What *is* necessary is
> that Tomcat have read access to DSpace's configuration and web
> applications, and write access to the logs, assetstore, upload
> directory, etc. So normally I just install Tomcat via the OS' package
> manager and let the whole DSpace installation directory tree be owned
> by whatever account the package manager created for Tomcat.
>
> --
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749 <(317)%20274-0749>
> www.ulib.iupui.edu
>
--
All messages to this mailing list should adhere to the Code of Conduct:
https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/37c5d067-6ecb-49ec-954c-e93e38f5773dn%40googlegroups.com.