This commit is contained in:
Leo
2026-05-22 11:46:10 +02:00
parent 266df5d32c
commit b118e163b2
6 changed files with 19 additions and 1 deletions

6
sheet05/a2/supervisor.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
SUPERVISOR=$1
# Grant read and execute permissions to the supervisor user recursively
setfacl -R -m u:"$SUPERVISOR":r-x .
# Set the default ACL
setfacl -R -d -m u:"$SUPERVISOR":r-x .