Re: [dspace-tech] Re: Running Jetty as different user, problems uploading file

2016-12-09 Thread helix84
You should run your servlet container under the same user who owns the
DSpace files (see the first step in [1] ), regardless of the name of the
user (dspace, jetty, postgres, ...). It just needs to be the same user.

To make sure the sameuser owns all files in the directory where DSpace is
installed, you can change their ownership recursively:
chown -R dspaceuser:dspacegroup /dspace

[1]
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpac
e-Installation


Regards,
~~helix84

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


On Fri, Dec 9, 2016 at 1:15 AM, David Brian Holt  wrote:

> OK, I changed the user that runs Jetty (by editing the jetty script in the
> init.d directory and changing the JETTY_USER to "postgres", the same user I
> created when I installed).  Now I'm getting a different error when I upload.
>
>
> 
>
>
> Any suggestions?
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: Running Jetty as different user, problems uploading file

2016-12-08 Thread David Brian Holt
OK, I changed the user that runs Jetty (by editing the jetty script in the 
init.d directory and changing the JETTY_USER to "postgres", the same user I 
created when I installed).  Now I'm getting a different error when I upload.




Any suggestions?

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.