docs: fix dead snapcraft confinement link in README (#2840)

The docs.snapcraft.io/snap-confinement/6233 URL now 404s (the docs site was
restructured under snapcraft.io/docs). Point the strict-confinement note at the
current snapcraft.io/docs/snap-confinement page, which returns HTTP 200.

Verified: old URL -> 404, new URL -> 200 (followed redirects).

AI assistance disclosure: this change was prepared with the help of an AI
assistant; the link-target research and verification were done by the human
author.

Co-authored-by: CAOShurong <[email protected]>
This commit is contained in:
ShurongCAO
2026-09-16 09:30:12 +10:00
committed by GitHub
co-authored by CAOShurong
parent 95828079c6
commit ef305adbe5
+1 -1
View File
@@ -115,7 +115,7 @@ snap install yq
```
#### Snap notes
`yq` installs with [_strict confinement_](https://docs.snapcraft.io/snap-confinement/6233) in snap, this means it doesn't have direct access to root files. To read root files you can:
`yq` installs with [_strict confinement_](https://snapcraft.io/docs/snap-confinement) in snap, this means it doesn't have direct access to root files. To read root files you can:
```
sudo cat /etc/myfile | yq '.a.path'