Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Run makemandb with the normal 022 umask, not the restric...
details: https://anonhg.NetBSD.org/src/rev/06aa5f0ede64
branches: trunk
changeset: 777342:06aa5f0ede64
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Feb 15 23:30:11 2012 +0000
description:
Run makemandb with the normal 022 umask, not the restrictive 077.
diffstat:
etc/daily | 4 ++--
etc/weekly | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r 246a6c53afff -r 06aa5f0ede64 etc/daily
--- a/etc/daily Wed Feb 15 23:06:20 2012 +0000
+++ b/etc/daily Wed Feb 15 23:30:11 2012 +0000
@@ -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 [ -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
diff -r 246a6c53afff -r 06aa5f0ede64 etc/weekly
--- a/etc/weekly Wed Feb 15 23:06:20 2012 +0000
+++ b/etc/weekly Wed Feb 15 23:30:11 2012 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index