give 777 permission to all files in a folder code example Example: find all files with 777 permissions find / -type f -perm 0777