/usr/games % chmod -R og-w Maelstrom
total 24 keystrokes
You can see the permissions on a file by its color in Permissions Coloring. You can switch to Permissions coloring on the View menu or use this keystroke:
X11 | MacOS | |
toggle between Permissions and Age coloring | altG | ^G |
Permissions coloring | altP altG | ^P ^G |
Age coloring | altA altG | ^A ^G |
Yellows and oranges are our own files, so we're in familiar territory here. But we can see that Maelstrom and Myst are publicly writeable! We can't have that.
We'll tighten the permissions on Maelstrom.
Right-click on Maelstrom, and choose the Edit > Permissions > Deny Write > to Everybody submenu.
After a small delay, you can see the permission changes.
total 1 contextual menu command.
Documentation > Unix Command Index > chmod |
|
||||