Date: Sat, 20 Mar 1999 15:30:53 -0800 (PST) From: skif@1plus1.net To: freebsd-gnats-submit@freebsd.org Subject: misc/10700: periodic weekly (/etc/weekly) fails to rebuild locate database Message-ID: <19990320233053.548D414D8A@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 10700 >Category: misc >Synopsis: periodic weekly (/etc/weekly) fails to rebuild locate database >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 20 15:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Sergey Korsak >Release: 3.1 >Organization: Broadcast company "Studio 1+1" >Environment: FreeBSD boy.rpd.univ.kiev.ua 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Mon Mar 15 10:10:16 EET 1999 skif@boy.rpd.univ.kiev.ua:/usr/src/sys/compile/BOY i386 >Description: "periodic weekly" (old /etc/weekly) is executed by cron once a week. It changes UID from root to nobody updating locate database but remains in /root directory. If /root is unaccessable by nobody (has mode 0750 for example), /usr/libexec/locate.updatedb fails to run. >How-To-Repeat: cd /root chmod 750 . /etc/periodic/weekly/310.locate >Fix: insert "cd /" to the top of the script. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990320233053.548D414D8A>