Date: Sun, 28 Mar 1999 08:40:01 -0800 (PST) From: Sheldon Hearn <sheldonh@iafrica.com> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/10700: periodic weekly (/etc/weekly) fails to rebuild locate database Message-ID: <199903281640.IAA51957@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR misc/10700; it has been noted by GNATS.
From: Sheldon Hearn <sheldonh@iafrica.com>
To: skif@1plus1.net (Sergey Korsak)
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/10700: periodic weekly (/etc/weekly) fails to rebuild locate database
Date: Sun, 28 Mar 1999 18:35:30 +0200
Hi Sergey,
Thanks for the report, you're right. Here's the diff required, as per
your suggested fix.
Ciao,
Sheldon.
Index: 310.locate
===================================================================
RCS file: /home/ncvs/src/etc/periodic/weekly/310.locate,v
retrieving revision 1.2
diff -u -d -r1.2 310.locate
--- 310.locate 1997/11/01 15:00:40 1.2
+++ 310.locate 1999/03/28 16:35:08
@@ -11,6 +11,7 @@
touch ${locdb}; chown nobody ${locdb}; chmod 644 ${locdb}
+ cd /
echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody
chmod 444 ${locdb}
fi
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903281640.IAA51957>
