| Newsgroups |
gmane.editors.sed.user |
| Message-ID |
<[email protected]> |
Hello Sed users,
I have a question on how to find world writable files. If I type in the following, I'm not completely getting all of the world writible system files.
sed -i '/find \/selinux -type f -perm +0002 -exec chmod o-w {} \\;/d' /etc/rc.local
sed -i '/find \/ -perm -2 -a \\( -type d -o -type f \\) -exec ls -ld {} \\;/d' /etc/rc.local
is there something else I can add to make sure all the world writable files are found?
[Non-text portions of this message have been removed]