Hi all,
I saw a thread about finding files with certain permissions, but I wanted the find command to list files that DON'T have the specified permissions, and are owned by a proper group.
Example:
findperms.ksh <path> <group> <permissions>
<path> = Path to search through (subdirs and files too).
<group> = Correct group
<permissions> = Permissions every file should have.
findperms.ksh /bin root 755
Any help would be greatly appreciated!
Thanks.
I saw a thread about finding files with certain permissions, but I wanted the find command to list files that DON'T have the specified permissions, and are owned by a proper group.
Example:
findperms.ksh <path> <group> <permissions>
<path> = Path to search through (subdirs and files too).
<group> = Correct group
<permissions> = Permissions every file should have.
findperms.ksh /bin root 755
Any help would be greatly appreciated!
Thanks.