Subject: Re: CRITICAL ** Holes in default cron jobs ** CRITICAL
To: None <tech-kern@NetBSD.ORG>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: tech-kern
Date: 01/02/1997 08:37:03
>> Maybe I'm missing something here, but it seems to me that there are
>> times that you don't want to follow symlinks.

Yeah, there are. :-)

> So perhaps we should implement a "nosymlinks" mount option which
> would disable symlinks on a file system.

Wouldn't this be more useful as a per-process option, so that you could
do something like

(	cd /tmp
	shell-builtin-something symlink-follow=no
	find . -blah -blah -print0 | xargs -0 rm

in the daily cronjobs?  [Note the symlink-follow=no is done _after_ the
cd to /tmp - unless you don't want to clean out /tmp if the admin has
symlinked it somewhere else.]

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B