First page Back Continue Last page Overview

 

find and Permissions

 
  • Can match ownership by name or id

    • find / -owner joe -gid 500
  • Can match octal or symbolic permissions

    • find -perm 755 # if mode is exactly 755
    • find -perm +222 # if anyone can write
    • find -perm -222 # if everyone can write
    • find -perm +o+w # if other can write
      • use -not to test denied permissions