Subject: Re: security/7060: find and rm
To: Chris Jones <cjones@rupert.honors.montana.edu>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 03/01/1999 15:43:23
>David> You could keep the directory open at each level open and use
>David> fchdir()
>
>Doh! Even better.
yeah...and then you can "cd .." without having to worry about having
traversed symlinks in the first place. :)
btw - will "find -Hx" follow a symlink into another file system? if
not, a separate /tmp filesystem would definitely be helpful here.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."