Simple command to find world writable files in linux



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, execute simple command
# find / -perm -2 ! -type l -ls

or

# find / -perm -2 ! -type l -ls  > /tmp/world-writable.txt



 
Top
Maintained By Amit Maheshwari