recursively list files and dirs based on permission
I'd like to find a command that recursively lists all folders and files which are group-writable. This *almost* works except I need the command to list the entire path rather than just the filename. I.e., '/path/to/matching/file.jpg' rather than just 'file.jpg'
Code:
ls -Rl | grep '^....rw' |
You don't want the listing but the "find" command.
|
cheers! This is working like a charm:
Code:
find -perm -g=rwx Code:
find -perm -g=rwx -exec chown -v myplanadmin.apache {} \; |
All times are GMT -5. The time now is 02:07 AM. |