Module Name: src Committed By: joerg Date: Wed Feb 15 23:30:11 UTC 2012
Modified Files: src/etc: daily weekly Log Message: Run makemandb with the normal 022 umask, not the restrictive 077. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/etc/daily cvs rdiff -u -r1.25 -r1.26 src/etc/weekly Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/daily diff -u src/etc/daily:1.80 src/etc/daily:1.81 --- src/etc/daily:1.80 Thu Feb 9 13:38:44 2012 +++ src/etc/daily Wed Feb 15 23:30:11 2012 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: daily,v 1.80 2012/02/09 13:38:44 joerg Exp $ +# $NetBSD: daily,v 1.81 2012/02/15 23:30:11 joerg Exp $ # @(#)daily 8.2 (Berkeley) 1/25/94 # @@ -294,7 +294,7 @@ if checkyesno run_makemandb; then if [ -f /etc/man.conf -a -x /usr/sbin/makemandb ]; then echo "" echo "Updating man page index:" - nice -n 5 /usr/sbin/makemandb + (umask 022; nice -n 5 /usr/sbin/makemandb) fi fi Index: src/etc/weekly diff -u src/etc/weekly:1.25 src/etc/weekly:1.26 --- src/etc/weekly:1.25 Tue Feb 7 19:13:30 2012 +++ src/etc/weekly Wed Feb 15 23:30:11 2012 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: weekly,v 1.25 2012/02/07 19:13:30 joerg Exp $ +# $NetBSD: weekly,v 1.26 2012/02/15 23:30:11 joerg Exp $ # from: @(#)weekly 8.2 (Berkeley) 1/2/94 # @@ -94,7 +94,7 @@ if checkyesno rebuild_mandb; then echo "" if [ -f /etc/man.conf -a -x /usr/sbin/makemandb ]; then echo "Rebuilding man page index:" - nice -n 5 /usr/sbin/makemandb -f + (umask 022; nice -n 5 /usr/sbin/makemandb -f) else echo "Not rebuilding man page index" fi