[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Avoid "permission denied" in find command
- To: lug-l@xxxxxxx
- Subject: Avoid "permission denied" in find command
- From: Jacob Fugal <jpfugal@xxxxxxx>
- Date: Mon, 08 Oct 2007 22:09:42 -0400
Hello all,
Does anyone know a good way to avoid the "find: cannot read dir ' . . .
. ' Permission denied" lines when executing the find command. In my
experience it buries the useful information. I tried grep, but it
appears that the | grep only gets the output and find pours this not
very useful message to stderr. My only way around it is to sudo find,
but I'm not sudo on every machine. Any ideas? It's really annoying.
Jacob Fugal
jpfugal@xxxxxxx