File mod_nss-gencert-correct-ownership.patch of Package apache2-mod_nss.12496

Index: mod_nss-1.0.14/gencert.in
===================================================================
--- mod_nss-1.0.14.orig/gencert.in	2016-04-15 20:27:59.000000000 +0200
+++ mod_nss-1.0.14/gencert.in	2016-09-13 17:11:20.810502756 +0200
@@ -332,4 +332,10 @@ echo ""
 echo "The database password is httptest"
 echo ""
 
+# change the ownership of the NSS database so apache can access it
+echo "Setting the ownership of the NSS database to root:www"
+chmod 640 $DBDIR/*.db
+chown root:www $DBDIR/*.db
+
+
 exit 0
openSUSE Build Service is sponsored by