Make log readable only by root
authorJamie Cameron <jcameron@webmin.com>
Tue, 8 Jan 2008 17:21:04 +0000 (17:21 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 8 Jan 2008 17:21:04 +0000 (17:21 +0000)
makerpm.pl

index a2c27d8..804705e 100755 (executable)
@@ -207,6 +207,7 @@ if [ "\$tempdir" = "" ]; then
 fi
 export config_dir var_dir perl autoos port login crypt host ssl nochown autothird noperlpath nouninstall nostart allow atboot
 ./setup.sh >$tempdir/webmin-setup.out 2>&1
+chmod 600 $tempdir/webmin-setup.out
 rm -f /var/lock/subsys/webmin
 if [ "$inetd" != "1" ]; then
        /etc/init.d/webmin start >/dev/null 2>&1 </dev/null