Date: Tue, 1 Apr 1997 23:59:53 -0500 (EST) From: "Donald J. Maddox" <root@cola134.scsn.net> To: hackers@FreeBSD.org Subject: `find . -nogroup` doesn't work? Message-ID: <199704020459.XAA00487@cola134.scsn.net>
next in thread | raw e-mail | index | archive | help
I was attempting to use find(1) to locate files/dirs on my system that have bogus owners/groups, but it appears that the '-nogroup' and '-noowner' options don't work.. Below is a partial listing of the files in my ghostscript fonts dir. You will notice that there are a number of entries with unknown owners/groups: # ls -l total 3620 -rw-r--r-- 1 root wheel 27617 Jun 28 1996 a010013l.afm -rw-r--r-- 1 root wheel 25994 Jun 28 1996 a010013l.pfb -rw-r--r-- 1 root wheel 4679 Jun 28 1996 a010013l.pfm -rw-r--r-- 1 root wheel 27601 Jun 28 1996 a010015l.afm -rw-r--r-- 1 root wheel 26980 Jun 28 1996 a010015l.pfb -rw-r--r-- 1 root wheel 4682 Jun 28 1996 a010015l.pfm -rw-r--r-- 1 root wheel 27756 Jun 28 1996 a010033l.afm -rw-r--r-- 1 root wheel 26882 Jun 28 1996 a010033l.pfb -rw-r--r-- 1 root wheel 4683 Jun 28 1996 a010033l.pfm -rw-r--r-- 1 root wheel 27796 Jun 28 1996 a010035l.afm -rw-r--r-- 1 root wheel 27530 Jun 28 1996 a010035l.pfb -rw-r--r-- 1 root wheel 4686 Jun 28 1996 a010035l.pfm -rw-r--r-- 1 root wheel 27608 Jun 28 1996 b018012l.afm -rw-r--r-- 1 root wheel 35522 Jun 28 1996 b018012l.pfb -rw-r--r-- 1 root wheel 4681 Jun 28 1996 b018012l.pfm -rw-r--r-- 1 root wheel 27432 Jun 28 1996 b018015l.afm -rw-r--r-- 1 root wheel 35453 Jun 28 1996 b018015l.pfb -rw-r--r-- 1 root wheel 4685 Jun 28 1996 b018015l.pfm -rw-r--r-- 1 root wheel 27920 Jun 28 1996 b018032l.afm -rw-r--r-- 1 root wheel 34617 Jun 28 1996 b018032l.pfb -rw-r--r-- 1 root wheel 4685 Jun 28 1996 b018032l.pfm -rw-r--r-- 1 root wheel 27680 Jun 28 1996 b018035l.afm -rw-r--r-- 1 root wheel 35218 Jun 28 1996 b018035l.pfb -rw-r--r-- 1 root wheel 4689 Jun 28 1996 b018035l.pfm -rw-r--r-- 1 bin bin 21626 Aug 2 1994 bchb.afm -rw-r--r-- 1 2461 2461 66591 Apr 24 1992 bchb.pfa -rw-r--r-- 1 2461 2461 22099 Aug 2 1994 bchbi.afm -rw-r--r-- 1 2461 2461 69478 Apr 24 1992 bchbi.pfa -rw-r--r-- 1 2461 2461 19764 Aug 2 1994 bchr.afm -rw-r--r-- 1 2461 2461 68769 Apr 24 1992 bchr.pfa -rw-r--r-- 1 2461 2461 19927 Aug 2 1994 bchri.afm -rw-r--r-- 1 2461 2461 69259 Apr 24 1992 bchri.pfa -rw-r--r-- 1 root wheel 27576 Jun 28 1996 c059013l.afm -rw-r--r-- 1 root wheel 37561 Jun 28 1996 c059013l.pfb -rw-r--r-- 1 root wheel 4665 Jun 28 1996 c059013l.pfm -rw-r--r-- 1 root wheel 27510 Jun 28 1996 c059016l.afm -rw-r--r-- 1 root wheel 38763 Jun 28 1996 c059016l.pfb -rw-r--r-- 1 root wheel 4665 Jun 28 1996 c059016l.pfm -rw-r--r-- 1 root wheel 27665 Jun 28 1996 c059033l.afm -rw-r--r-- 1 root wheel 38413 Jun 28 1996 c059033l.pfb -rw-r--r-- 1 root wheel 4665 Jun 28 1996 c059033l.pfm -rw-r--r-- 1 root wheel 27665 Jun 28 1996 c059036l.afm -rw-r--r-- 1 root wheel 38742 Jun 28 1996 c059036l.pfb -rw-r--r-- 1 root wheel 4669 Jun 28 1996 c059036l.pfm -rw-r--r-- 1 root wheel 9294 Jun 28 1996 d050000l.afm -rw-r--r-- 1 root wheel 44537 Jun 28 1996 d050000l.pfb -rw-r--r-- 1 root wheel 674 Jun 28 1996 d050000l.pfm -rw-r--r-- 1 2461 2461 36031 Sep 21 1993 fcyr.gsf -rw-r--r-- 1 2461 2461 44518 Sep 21 1993 fcyri.gsf -rw-r--r-- 1 2461 2461 38906 Sep 21 1993 fhirw.gsf -rw-r--r-- 1 2461 2461 40226 Sep 21 1993 fkarw.gsf -rw-r--r-- 1 2461 2461 58276 Oct 1 1993 hrger.pfa -rw-r--r-- 1 2461 2461 807 Sep 30 1993 hrgerb.gsf -rw-r--r-- 1 2461 2461 811 Sep 30 1993 hrgerd.gsf -rw-r--r-- 1 2461 2461 812 Sep 30 1993 hrgero.gsf -rw-r--r-- 1 2461 2461 8943 Oct 1 1993 hrgkc.gsf -rw-r--r-- 1 2461 2461 7015 Oct 1 1993 hrgks.gsf -rw-r--r-- 1 2461 2461 57602 Oct 1 1993 hrgrr.pfa <SNIP> However, this is the output of 'find . -nogroup -print': # find . -nogroup -print ./bchb.pfa Why does it find only the first file? The behavior of the '-nouser' option is exactly the same. Donald J. Maddox (dmaddox@scsn.net)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704020459.XAA00487>