You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
197 B
6 lines
197 B
#!/bin/bash
|
|
|
|
user="$1"
|
|
app="$(basename $0 | cut -d- -f 2-)" # Extract the app name from the script name, which is supposed to be something like "50-app_id"
|
|
|
|
setfacl --modify g:$app:rwx /home/$user
|