|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
a question for you unix gurus
I want to find all world writeable directories on a server:
ls -lR |grep drwxrwxrwx does that but DOESNT display what main directory the folder is in. So i get all type of folders returned just dont know what parent folder they are in.. Whats the command im looking for? |
|
|
|
|
|
#2 |
|
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
"world writable" "folders" i sound like a windows person
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Jan 2005
Posts: 120
|
You're probably looking for something similar to,
find / -type d -perm 777 -print man find, read up on -perm to tailor to your needs. Also make sure you're root when searching from / or you'll get a ton of permission denied messages. S. |
|
|
|
|
|
#4 |
|
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
find ./ -perm 777 did the trick! thankie!
I was already working on an egrep that does a find / and then parses the output through ls-l etc.. hehe Thanks! |
|
|
|