Guys, i wanna get any user files with write permission (on user or group permission) for review but i confuse with -perm parameter.
any body can help me to explain what is that mean?
thank's
Guys, i wanna get any user files with write permission (on user or group permission) for review but i confuse with -perm parameter.
any body can help me to explain what is that mean?
thank's
One way to get group & other write permissions, assuming you want just regular files:
find /path/to/files -type f \( -perm -20 -o -perm -02 \) -print
you specify the bit you want, 2, and then the position in -perm -value. The minus tells find to and the permsision bit you specify with the permission bits of the file.