More Unix Commands (cont.)
chmod stands for “change mode”.
Remove permissions to execute a file:
cubist$ chmod -x test1.lsp
Give group permission to execute:
cubist$ chmod g+x test1.lsp
Give read permission to all users:
cubist$ chmod +r test1.lsp
Take away write permission from others:
cubist$ chmod o-w test1.lsp