Skip to content

Commit 3cb0cda

Browse files
Add theme-aware permission-error decision diagram (#3285)
1 parent 8435280 commit 3cb0cda

3 files changed

Lines changed: 154 additions & 0 deletions

File tree

Lines changed: 74 additions & 0 deletions
Loading
Lines changed: 74 additions & 0 deletions
Loading

‎workshop/side-quest-01-03-permission-errors.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515

1616
When you see `permission denied`, your user account does not have the rights to run that command as written. This is a security feature — it prevents accidental changes to system files.
1717

18+
<picture>
19+
<source media="(prefers-color-scheme: dark)" srcset="images/side-quest-01-03-permission-decision-dark.svg">
20+
<source media="(prefers-color-scheme: light)" srcset="images/side-quest-01-03-permission-decision-light.svg">
21+
<img alt="Decision flow for a permission denied error: run a command, check permission, and if denied, elevate access with sudo or Run as administrator before the command succeeds" src="images/side-quest-01-03-permission-decision-light.svg">
22+
</picture>
23+
1824
---
1925

2026
## How to fix it

0 commit comments

Comments
 (0)