Operating System - HP-UX
1833053 Members
2660 Online
110049 Solutions
New Discussion

Re: need to find all world writable files

 
SOLVED
Go to solution
Richard Pereira_1
Regular Advisor

need to find all world writable files

Hi,

I have a request from my client to find ALL files and directories that have world writable permissions. My first guess was find could do it, but it seems limited to ACLs. Before I go scripting something, I thought i would ask here..

Any help is appreciated.

Regards,
Richard
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: need to find all world writable files

Hi Richard:

# find /path -xdev -perm -o+w

Regards!

...JRF...
Jeff_Traigle
Honored Contributor

Re: need to find all world writable files

find works perfectly for this.

find / -perm 002 -type f -type d
--
Jeff Traigle
Richard Pereira_1
Regular Advisor

Re: need to find all world writable files

aha! i missed -perm, i kept falling on -acl

Ill try it right away, thanks folks