summaryrefslogtreecommitdiff
path: root/etc/weekly
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-01-03 23:33:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-01-03 23:33:51 +0000
commit39d39aa298875366d497ae76d5375b751f7e4f65 (patch)
tree12db138f99002554340c1ae4d1febad31c3a5834 /etc/weekly
parentb83ea1e88d8cad78992bda4aaf42748dd414b62d (diff)
locate shell scripts now use mktemp(1) and weekly runs updatedb
as bin not nobody to avoid NFS problems.
Diffstat (limited to 'etc/weekly')
-rw-r--r--etc/weekly6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/weekly b/etc/weekly
index 0d9f5b78f46..bed9e309f0e 100644
--- a/etc/weekly
+++ b/etc/weekly
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: weekly,v 1.4 1996/12/18 04:32:57 millert Exp $
+# $OpenBSD: weekly,v 1.5 1997/01/03 23:33:50 millert Exp $
#
PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
@@ -59,8 +59,8 @@ echo ""
if [ -f /var/db/locate.database ]; then
echo "Rebuilding locate database:"
chmod 644 /var/db/locate.database
- chown nobody.nobody /var/db/locate.database
- echo /usr/libexec/locate.updatedb | nice -5 su -m nobody 2>/dev/null
+ chown bin /var/db/locate.database
+ echo /usr/libexec/locate.updatedb | nice -5 su -m bin 2>/dev/null
chown root.wheel /var/db/locate.database
else
echo "Not rebuilding locate database; no /var/db/locate.database"