Date: Mon, 20 Nov 2000 14:48:53 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Brian Reichert <reichert@numachi.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: find, -delete, and relative paths Message-ID: <20001120144853.E18037@fw.wintelcom.net> In-Reply-To: <20001120161557.R11172@numachi.com>; from reichert@numachi.com on Mon, Nov 20, 2000 at 04:15:57PM -0500 References: <20001120161557.R11172@numachi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Brian Reichert <reichert@numachi.com> [001120 13:16] wrote: > I didn't find anything after an admittedly quick look intp PRs and the mail > list archives: > > Under FreeBSD 3.4-RELEASE, we are running a simple log file scrubber: > > 15 3 * * * find /usr/local/logs/lsp \! -ctime 1 -delete > > I pointedly am using an absolute path, yes I get this warning repeatedly: > > find: -delete: /usr/local/logs/lsp: relative path potentially not safe > > How can I suppress this warning? Is it a bug in find, or did I > misunderstand the manpage? Blind guess, is /usr/local/logs/lsp a symlink to someplace or is any part of the path a symlink that contains some form of /../ ? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001120144853.E18037>
