I would like to change permissions of a folder and all its sub folders and files in one step (command) in Linux.
I have already tried the below command but it works
To set to all subfolders (recursively) use -R
chmod 755 /folder -R
And use umask to set the default to new folders/files cd /folder umask 755