find not finding file.
LukeD at pobox.com
Thu Apr 27 18:02:40 UTC 2006
On Thu, 27 Apr 2006, RW wrote:
> Can anyone explain this:
> # find /etc/ -name 'named.conf'
> # ls -l /etc/namedb/named.conf
> -rw-r--r-- 1 root wheel 3715 Nov 13 17:35 /etc/namedb/named.conf
> named.conf is not found, but as a sanity check a similar search for ppp.conf
> # find /etc/ -name 'ppp.conf'
> there is nothing odd about the directories:
> # ls -dl /etc/namedb/ /etc/ppp/
> drwxr-xr-x 5 root wheel 512 Nov 13 17:35 /etc/namedb/
> drwxr-xr-x 2 root wheel 512 Feb 8 17:36 /etc/ppp/
$ ls -l /etc |grep namedb
lrwxr-xr-x 1 root wheel 21 Dec 31 18:56 namedb -> /var/named/etc/namedb
namedb is actually a link, and find isn't following it.
More information about the freebsd-questions