file permission

Hi All,
chmod to parent and sub directories ?

I have to change permission for the directories and subdirectories in single command

when googled i found some updates but i understand what is switch.

If there is a command please suggest or please explain.
Please explain.

man chown
man chmod

see the -R option

1 Like

Use Find command with -exec
find . -name 'filename*' -exec chmod 777 {} \;