find fails

Ian Kluft kluft at hpcupt1.HP.COM
Tue Aug 2 06:15:20 AEST 1988


rich at jolnet.UUCP (Rich Andrews) writes:
> When I am in /usr/lib and execute a find command such as
> "find . -print" it gets to /usr/lib/uucp and then it fails
> with a stat() failed  /usr/lib/uucp/cd_text.
> 
> This is not the only file that this happens to.  It also 
> happens to some of my /usr/lib/*.a files and to some
> of my F77 libs and pascal files.  
> 
> 	Fsck reports all is ok and the files are readable.
> 
> Any ideas?

Find's access is limited to what you as a user can normally see.
Under root, you shouldn't have such problems.
The big question is: were you root when this problem occurred?

If you were, see stat(2) for any quirks your system may have which
might return an error to 'find'.

------------------------------------------------------------------
    Ian Kluft			RAS Lab
    UUCP: hplabs!hprasor!kluft	HP Systems Technology Division
    ARPA: kluft at hpda.hp.com	Cupertino, CA
------------------------------------------------------------------



More information about the Comp.bugs.sys5 mailing list