I want to find unreadable files in my directory (e.g. files with gr). So I tried this:
find . -perm -gr
Does he show me all the files? So I tried this:
find . -perm -g+r
And he showed me only readable files. It seems that -perm -gr matches all files. I am using CentOS 5.5. Am I doing something wrong? It doesn't look like -perm -gr does anything useful.
linux bash find
User1 Dec 07 '10 at 23:05 2010-12-07 23:05
source share