B.12. Lab B.12: Change Permissions on All Files in a Linux Directory
This lab requires a Linux workstation.
You can use the chmod utility to change the permissions on one or many files. This exercise changes the permissions on all files beneath the /tmp directory to readonly for everyone (r—r—r—).
To accomplish this change, follow these steps:
From the desktop, choose Programs Accessories Terminal.
NOTE
Your menu choices might differ slightly based upon the Linux distribution you are using.
Type the command cd /tmp.
Type the command chmod 444 * ...
Get CompTIA Security+™ Deluxe: Study Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.