provision.pl - fixed permissions on installation directory

This commit is contained in:
gashapwn 2020-11-30 03:16:31 +00:00
parent 9fbc0bcc6a
commit 65038fe603

View File

@ -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