'find' command

Martin J. Dellwo (r06a661@bcc26.kodak.com)
Wed, 12 Jan 1994 09:37:31 -0500 (EST)

I am trying to find files owned or not owned by specific users (such as root)
on our AMX 500 computer. The standard unix program 'find' does not
work as expected. A command of the form

find . -user root -exec ls -l {} \;

gives strange output. *Every* file in the directory is listed,
followed by the ones I want:

-rw-rw-r-- 1 diane system 2314 Jun 18 1993 3dn_hsqc.mm
-rw-rw-r-- 1 hsin system 1925 Jul 28 19:24 3dt_hsqc
-rw-rw-r-- 1 guest system 1898 Jul 14 1993 3dt_hsqc.13
-rw-rw-r-- 1 guest system 1904 Jul 28 19:06 3dt_hsqc.13_1d
-rw-rw-r-- 1 guest system 1845 Jul 14 1993 3dt_hsqc.23
-rw-rw-r-- 1 diane system 1837 Jun 23 1993 3dt_hsqc.old
-rw-r----- 1 diane system 1407 Jun 15 1993 4dnc_noesy
-r--r--r-- 1 root root 3646 Sep 25 1992 Am-amx.ref
-r--r--r-- 1 root root 4445 Sep 25 1992 Amx-am.ref
...
-rw-rw-r-- 1 root root 0 Aug 12 1991 ./.x
-r--r--r-- 1 root root 480 Sep 25 1992 ./zgcw
-r--r--r-- 1 root root 3646 Sep 25 1992 ./Am-amx.ref
-r--r--r-- 1 root root 4445 Sep 25 1992 ./Amx-am.ref
-r--r--r-- 1 root root 3975 Sep 25 1992 ./Param.info
-r--r--r-- 1 root root 2654 Sep 25 1992 ./Pulprog.info
-r--r--r-- 1 root root 359 Sep 25 1992 ./README
...

This is not how it should work! Notice the ones I want have ./ as
part of the listed name (which is the way it normally should look).

I thought that the -prune option might help, but it is not a valid
option to bruker unix 'find', unlike SGI or Sun unix flavors. And of
course there are no man pages.

Can anyone help explain? Thanks.

-- 
Martin J. Dellwo     (215) 983-7396
E-mail:  r06a661@bcc26.kodak.com, mdellwo@Kodak.COM
Biophysics and Computational Chemistry
Sterling Winthrop Pharmaceuticals Research Division