← All labs
PermissionsIntermediate~4 min
A password sitting in plain sight
An app's environment file ~/app/secrets.env contains a database password and is world-readable. Lock it down so only the owner can read or write it.
Your mission
- Restrict `~/app/secrets.env` to owner-only (mode 600)
Everything here is simulated and safe — break things freely. Your progress is tracked on the right and saved in this browser.
player@shellquest — quarantine-the-key