How to change directory permissions in Linux with chmod
chmod 777777 means the file directory is granted read, write and execute permissions for all three user classes, including the owner, group members, and others.To apply chmod 777 recursively to a folder and all its contents, you can use the -R