Yulianto is Piyut

Sekedar Celotehan dan Ungkapan Perasaan

How to find world writable file and directory

Posted by piyut on Friday, September 14, 2007

To find world writable file:

#  find / -type f -perm -o+w -exec ls -l {} \;

To find world writable directory:

# find /home -type d -perm -o+w -exec ls -ld {} \;

Leave a Reply

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