Give everyone read access to a directory treeCautionchmod -R a+rX pathRecursively grants read to all users, plus execute on directories and on files that are already executable.permissionsfilestab next value · ↵ copy · o open · f favoriteCopy
Make a file executablechmod +x fileAdds execute permission so the file can be run as a program or script.permissionsfilestab next value · ↵ copy · o open · f favoriteCopy
Set permissions with an octal modechmod 644 fileReplaces the permissions of the file with the octal mode, such as 644 for owner write and read for everyone.permissionsfilestab next value · ↵ copy · o open · f favoriteCopy