Web Design

Categorized | Security, cli

Find all world-writable files

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

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


1 Comment

  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

    1

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>