From: cajus Date: Thu, 7 Aug 2008 13:09:15 +0000 (+0000) Subject: Updated file permissions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4586db8ea4af14fe35233990d2f053cfc6fca97a;p=gosa.git Updated file permissions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12177 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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