I need to set group/other execute permission for those files/sub-directories that have user execute permission (recursively in a directory).
How can I do it?
>Solution :
You can use the find command with the -perm option and the chmod command.
find /home/user/mydir -type f -perm -u+x -exec chmod go+x {} \;
find /home/user/mydir -type d -perm -u+x -exec chmod go+x {} \;