Below steps will update entire directories(files, folders & includes sub-directories) permission.
- Login to the SSH terminal.
- Select desired directory, using “cd..” command.
- Run cmd: find -type f -exec chmod –changes 644 {} + -o -type d -exec chmod –changes 755 {} +
- Exit