From bdef768d3ccdd66e65782bf3caa4973413483d73 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 29 Jul 2024 14:39:43 +0300 Subject: [PATCH] usr-local-bin/README: quick setfacl --- bash/usr-local-bin/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bash/usr-local-bin/README.md b/bash/usr-local-bin/README.md index 7e66647..205013f 100644 --- a/bash/usr-local-bin/README.md +++ b/bash/usr-local-bin/README.md @@ -13,3 +13,10 @@ tail -n +1 /var/lib/flatpak/exports/bin/* `/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` + +## File Access Control List + +``` +sudo setfacl --recursive --modify=u:root:rwx,o:rx /usr/local/bin/ +getfacl /usr/local/bin +```