Hi again ; dspace is running a ubuntu server . tomcat service running tomcat8 user .
# Run Tomcat 8 as this user ID and group ID TOMCAT8_USER=tomcat8 TOMCAT8_GROUP=tomcat8 Dspace running directory permissions is tomcat8. Our dspace crontab is not running as the user tomcat8. But I cant understand why this option effect it . On Friday, April 2, 2021 at 12:13:49 AM UTC+3 FILIPPOS KOLOVOS wrote: > Dear Sir, > > This probably happens because you run Tomcat as root, or as a user (i.e. > Tomcat8), who does not have permissions on the dspace running directory. > > Run tomcat as the user who owns the dspace running Directory and not a > different one. For security reasons I suggest that you do not run Tomcat as > root. > > Στις Πέμ, 1 Απρ 2021, 16:38 ο χρήστης Kadir Aslan <[email protected]> > έγραψε: > >> >> Hi , >> >> when I import zip file from "batch import" , I see an an error like >> "java.io.IOException: permission denied " . I set file permissions like >> "chown tomcat8.tomcat8 -R /dspace/assetstore/*" , the problem is solve. But >> after one or two days later I take same error and I must apply same " chown >> tomcat8.tomcat8 -R /dspace/assetstore/*" command again. how can I fix this >> error permanent ? >> >> thanks. >> >> -- >> > 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 Community" 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-community/4e4c6078-e9d4-4821-a27d-61432a46dc03n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/dspace-community/4e4c6078-e9d4-4821-a27d-61432a46dc03n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 Community" 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-community/4611182f-3148-44c8-9333-3f9537cb5235n%40googlegroups.com.
