Find all world-writable files

By | November 27, 2008

If you are an administrator and have users on your server, keeping files with limited permissions should be a priority. To seek out all world-writable files on your machine, do a simple

find / -perm -2 ! -type l -ls

One thought on “Find all world-writable files

  1. Lee

    Thank you for the exact command I was needing! However, you may want to put a note on this excellent command that if you have any nfs mounted directories, it will list all of those world writeable files. Could be literally millions of files.

    Again, thank you for your work! It is greatly appreciated by us users!!!!!

    Sincerley,
    Lee

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *