I'm studying find
command options.
Will
find . -perm -o=r
and
find . -perm /o=r
give the same results?
Yes, those are the same. The difference comes when there is more than one permission listed, in which case, -
will require all of the permissions be set on the files it lists, while /
will require any of the permissions be set on the files it lists.
For example, -perm -o=rw
will find files which others can both read and write, while -perm /o=rw
will find files which others can read as well as files which others can write.
See the man find
section on the -perm
option.