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?
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.
So tryout this command,
By.................
"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.