From 4586db8ea4af14fe35233990d2f053cfc6fca97a Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 7 Aug 2008 13:09:15 +0000 Subject: [PATCH] Updated file permissions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12177 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-client.postinst | 4 ++++ gosa-si/debian/gosa-si-server.postinst | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gosa-si/debian/gosa-si-client.postinst b/gosa-si/debian/gosa-si-client.postinst index a6487f1d7..c269f9e75 100644 --- a/gosa-si/debian/gosa-si-client.postinst +++ b/gosa-si/debian/gosa-si-client.postinst @@ -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 diff --git a/gosa-si/debian/gosa-si-server.postinst b/gosa-si/debian/gosa-si-server.postinst index f3ae6d8e4..ccbf8c3c9 100644 --- a/gosa-si/debian/gosa-si-server.postinst +++ b/gosa-si/debian/gosa-si-server.postinst @@ -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 -- 2.30.2