Possible Duplicate:
How do I remove “permission denied” printout statements from the find program?
When I run this command in Linux (SuSE):
find / -name ant
I get many error messages of the form:
find: `/etc/cups/ssl': Permission denied
Does find
take an argument to skip showing these errors and only try files that I have permission to access?
find / ! -readable -prune
. This is like "prune those results not (!) readable". See: stackoverflow.com/questions/762348/…