File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ if [ -f "$SC_SERVICE_FILE" ] ; then
9999 cp " $SC_SERVICE_FILE " /etc/systemd/system || { echo " Error: service copy failed" ; exit 1; }
100100fi
101101cp scanoss-folder-hashing-api.sh /usr/local/bin || { echo " Error: startup script copy failed" ; exit 1; }
102+ chmod +x /usr/local/bin/scanoss-folder-hashing-api.sh || { echo " Error: chmod failed for /usr/local/bin/scanoss-folder-hashing-api.sh" ; exit 1; }
102103
103104# ###################################################
104105# SEARCH CONFIG FILE #
155156chown -R $RUNTIME_USER :$RUNTIME_USER " $BASE_C_PATH " || { echo " Error chown $BASE_C_PATH " ; exit 1; }
156157find " $CONFIG_DIR " -type d -exec chmod 0750 " {}" \;
157158find " $CONFIG_DIR " -type f -exec chmod 0600 " {}" \;
158- chown -R $RUNTIME_USER :$RUNTIME_USER " $DB_PATH_BASE "
159- find " $DB_PATH_BASE " -type d -exec chmod 0750 " {}" \;
160- find " $DB_PATH_BASE " -type f -exec chmod 0640 " {}" \;
161159
162160# Copy the binaries if requested
163161BINARY=scanoss-folder-hashing-api
You can’t perform that action at this time.
0 commit comments