Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lwc:linux:snap [2021/06/21 16:56] – created John Harrison | lwc:linux:snap [2023/01/16 07:21] (current) – John Harrison | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * if not possible to install as '' | * if not possible to install as '' | ||
| * it appears Snap apps can't even see certain directories like ''/ | * it appears Snap apps can't even see certain directories like ''/ | ||
| + | |||
| + | ==== workaround for snap not able to access outside of /home ==== | ||
| + | * Mount the directory inside home. Example with ''/ | ||
| + | < | ||
| + | mkdir / | ||
| + | sudo mount --bind /tmp / | ||
| + | </ | ||
| + | * make permanent by editing ''/ | ||
| + | < | ||
| + | # <file system> <mount point> | ||
| + | /tmp / | ||
| + | </ | ||
| + | * then rebuild the initrd: | ||
| + | < | ||
| + | sudo update-initramfs -u -k all | ||
| + | </ | ||
| + | // | ||