Recursive search for group or other writeable 'dot' files

I'm looking for a easy way to do a recursive search through a directory structure for all files that begin with '.' that are group or other writable.

Any suggestions?

For shame, that is actually in the "find" man-page EXAMPLES section.

find . -type f -name ".*" -perm /-g+w,u+w 

For shame??

Man pages are a great resource, but they aren't the end all/be all.

Not all man pages are alike and the ones that I looked at did not have this example. I checked again, just to be certain. I will certainly try what you mentioned and report back what happens. - again thanks for the suggestion.

Hi,
This is pretty simple to search recursively.
This can be done in three ways.

  1. ls -R this command work beautifully ,but not all version of ls have -R option.
  2. find . ~print should work everywhere
  3. du ~a . shows both name and size of the file.

So tryout this command,
By.................:b:

"For shame, that is actually in the "find" man-page EXAMPLES section."

And as expected, this did not work. However, using the 'perm' flag ended up being what I wanted.

Thanks for the help but you need to work on your delivery.

"find . -type f -name ".*" -perm /-g+w,u+w"

No shame here. This did not work. However by putting the syntax that I needed, I was able to get what was necessary by using the -perm flag.