provision.pl - fixed permissions on installation directory
This commit is contained in:
parent
9fbc0bcc6a
commit
65038fe603
@ -48,7 +48,8 @@ system("pkg_add git");
|
|||||||
|
|
||||||
# Setup install dir
|
# Setup install dir
|
||||||
system("mkdir $INST_DIR");
|
system("mkdir $INST_DIR");
|
||||||
system("useradd -d /tilde -r 100..900 $SVC_ACCT");
|
system("useradd -d $INST_DIR -r 100..900 $SVC_ACCT");
|
||||||
|
system("chown $SVC_ACCT:$SVC_ACCT $INST_DIR");
|
||||||
chdir $INST_DIR;
|
chdir $INST_DIR;
|
||||||
|
|
||||||
# clone repo
|
# clone repo
|
||||||
|
Loading…
Reference in New Issue
Block a user