GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   a question for you unix gurus (https://gfy.com/showthread.php?t=521804)

mrthumbs 09-28-2005 02:42 PM

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?

mrthumbs 09-28-2005 02:42 PM

"world writable" "folders" i sound like a windows person

SteveF 09-28-2005 02:49 PM

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.

mrthumbs 09-28-2005 02:55 PM

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!


All times are GMT -7. The time now is 09:04 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123