sort acl file based on filename

This commit is contained in:
2023-02-13 18:23:46 -05:00
parent 9b53611107
commit 743956cf15
2 changed files with 9 additions and 1 deletions

View File

@ -23,7 +23,7 @@ sd-users: ## Run this after adding new users
.PHONY: save-perms
save-perms: ## Saves the file permissions to ./acl. Run this after adding new files with correct permissions
getfacl --recursive root > acl
getfacl --recursive root | ./makepac/sort_acl.sh > acl
.PHONY: set-perms
set-perms: ## Restores permissions of all files from ./acl