blob: 56c16e2313455c11bb796fd2f48c214a65acacdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
# Setting up permissions for elects's data directories.
PRGNAM=electrs
ELECTRS_UID=386
ELECTRS_GID=386
setfacl -R -m u:$ELECTRS_UID:rwx etc/$PRGNAM
setfacl -R -m u:$ELECTRS_UID:rwx var/lib/$PRGNAM
setfacl -R -m u:$ELECTRS_UID:rwx var/log/$PRGNAM
setfacl -R -m u:$ELECTRS_UID:rwx var/run/$PRGNAM
|