mirror of
https://github.com/mikefarah/yq.git
synced 2026-10-11 21:39:52 +00:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user