]> arthur.barton.de Git - ngircd.git/blobdiff - debian/ngircd.postinst
Fixed up post installation script.
[ngircd.git] / debian / ngircd.postinst
index 39d0bbb0a765bc77b5a976c2bc31d0ed5e2cff38..6906c4b7a5d6d7f55573b5c0d655e03ada401e31 100644 (file)
@@ -1,12 +1,12 @@
 #!/bin/sh
 #
 # Debian post-installation script
-# $Id: ngircd.postinst,v 1.1.2.2 2003/07/12 18:48:17 alex Exp $
+# $Id: ngircd.postinst,v 1.1.2.3 2003/07/12 22:57:00 alex Exp $
 #
 
 if [ -f /etc/ngircd/ngircd.conf ]; then
-       # validate permissions of configuration file
-       chmod o-a /etc/ngircd/ngircd.conf
+       # make sure that configuration file is not world readable
+       chmod o= /etc/ngircd/ngircd.conf
 fi
 
 if [ -x "/etc/init.d/ngircd" ]; then