Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

- added setting of access rights for executable scripts after auto-installation The correct access right was missing expecially for bin/apicall.sh

orbitere12f1fd82147
diff --git a/source/de/anomic/yacy/yacyRelease.java b/source/de/anomic/yacy/yacyRelease.java
index 1091a2fc3..8c06628e0 100644
--- a/source/de/anomic/yacy/yacyRelease.java
+++ b/source/de/anomic/yacy/yacyRelease.java
@@ -560,6 +560,8 @@ public final class yacyRelease extends yacyVersion {
""
) +*/
"cd " + apphome + serverCore.LF_STRING +
+ "chmod 755 *.sh" + serverCore.LF_STRING + // tarTools does not keep access/execute right
+ "chmod 755 bin/*.sh" + serverCore.LF_STRING +
"nohup ./startYACY.sh > /dev/null" + serverCore.LF_STRING;
scriptFileName = "update.sh";
}