Quote:
Originally Posted by trexdude_99
@Habitual
My code was posted as an example of what could be done, and not meant to be specific to a web server.
|
Examples. Yes, lovely examples. Arbitrary code from (sometimes) arbitrary fora pasted into arbitrary terminals,
by a guy who wants to "chmod 707 -Rv ."
except for two directories sourced from "some guy" with 2 posts?
The net is dangerous enough.
And wtf 770?
Double Secret Probation!
nicedreams:
Warning: Do not even think about running
or
Code:
find /usr/directory | egrep -v "somedirectory" | xargs -i /bin/chmod 770 {} 2>/dev/null
It is not my recommendation.
In the interest of fairness,
Why 707? and what 2 directories?
What are you reading and where are you reading it?