It is essential to secure directories, subdirectories and files in any system, To secure your file system and directories by changing the permissions of all directories, subdirectories, files and its content, Type “find . -type d -exec chmod 755 {}
Read More How to Change Permissions All Directories to 755 and Files to 644 Linux Ubuntu