Files
it-sec-exercises/sheet05/a2/supervisor.sh
2026-05-22 11:46:10 +02:00

6 lines
194 B
Bash

#!/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 .