6 lines
194 B
Bash
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 . |