chmod 777chmod -R 777 store. The -R (or --recursive) options make it recursive. Or if you want to make all the files in the current directory have all permissions type: chmod -RTo apply chmod 777 to all the files and subfolders within the folder, you can use the find command in combination with the chmod command.