Code

Updated file permissions
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Aug 2008 13:09:15 +0000 (13:09 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Aug 2008 13:09:15 +0000 (13:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12177 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/debian/gosa-si-client.postinst
gosa-si/debian/gosa-si-server.postinst

index a6487f1d72e95e922824f6e3783a881b66ff377c..c269f9e75327e80e89467b0b45791d37ff822ca1 100644 (file)
@@ -13,7 +13,11 @@ esac
 
 [ ! -d /usr/lib/gosa-si/client/events ] && install -d -o root -g root -m 750 /usr/lib/gosa-si/client/events
 
+# Fix permission
+[ -f /etc/gosa-si/client.conf ] && chmod go-rwx /etc/gosa-si/client.conf
+
 # Restart daemon
 invoke-rc.d gosa-si restart
 
+
 exit 0
index f3ae6d8e46405a3c90f9b30b9bbeb6b7f4376402..ccbf8c3c942fbdc3ea6d21b613cc3dfea3f7f66e 100644 (file)
@@ -11,6 +11,9 @@ case "$1" in
         *)                     exit 0;
 esac
 
+# Fix permission
+[ -f /etc/gosa-si/server.conf ] && chmod go-rwx /etc/gosa-si/server.conf
+
 # Restart daemon
 invoke-rc.d gosa-si restart