Run makemandb with the normal 022 umask, not the restrictive 077.
This commit is contained in:
parent
80d0f48794
commit
0ca3cd9bc0
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue