Shell script to find all world-writable files and directories on Linux / UNIX system

in Categories Monitoring last updated April 10, 2008


Share this on:

2 comment

  1. “-perm +mode” is deprecated; use “-perm /mode” instead. Change the last line as follows:

    $FIND $DIRNAME -xdev -perm /o=w ! ( -type d -perm /o=t ) ! -type l -print

    Have a question? Post it on our forum!