i want every directory permission set to 755. So i want to change any directories having permission other 755 to 755. How can i change this without even touching the directories which is already set to 755 permission.
I'm using Ubuntu.
Note that you probably don't want to do this (and you definitely don't want to do this on system directories) but if you're sure then
will find all of the directories in /path that don't have 755 as a perm
After reviewing the list then
should do what you want.
You simplay can run