2024-06-19 07:40:47 +02:00
|
|
|
<!-- @format -->
|
|
|
|
|
|
|
|
Simple bash scripts I have in `/usr/local/bin` that may be trivial to
|
|
|
|
recreate, but why reinvent the wheel.
|
2022-04-02 16:07:41 +02:00
|
|
|
|
|
|
|
## Does this make sense for Flatpaks?
|
|
|
|
|
|
|
|
```bash
|
|
|
|
tail -n +1 /var/lib/flatpak/exports/bin/*
|
|
|
|
```
|
2023-02-13 16:52:39 +01:00
|
|
|
|
|
|
|
## Snap?
|
|
|
|
|
2024-06-19 07:40:47 +02:00
|
|
|
`/usr/local/bin` is more likely to be in `$PATH` than the usual Snap vriants.
|
|
|
|
If they are in $PATH, note `sudo snap alias ORIGINAL NEW`
|
2024-07-29 13:39:43 +02:00
|
|
|
|
|
|
|
## File Access Control List
|
|
|
|
|
|
|
|
```
|
2024-08-09 20:54:00 +02:00
|
|
|
sudo setfacl --recursive --modify=u:root:rwX,o:rX /usr/local/bin/
|
2024-07-29 13:39:43 +02:00
|
|
|
getfacl /usr/local/bin
|
|
|
|
```
|