I want to know how to list only the name of the sub directory that has a certain permission.
The command I got so far is this:
find */* -maxdepth 2 -perm 770
but this just gives me this:
That file2 is that one with the permission 770; I just want to print out "file2"