Browse Source

Merge pull request #1855 from jaapmarcus/fix/1845-fix-premision-sh-files

Fix permissions .sh file in /install/ folder
Jaap Marcus 4 years ago
parent
commit
9091e1fd71
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/hst_autocompile.sh

+ 2 - 0
src/hst_autocompile.sh

@@ -625,6 +625,8 @@ if [ "$HESTIA_B" = true ]; then
     chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/web/inc/mail-wrapper.php
     chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/web/inc/mail-wrapper.php
     # Allow the executable to be executed
     # Allow the executable to be executed
     chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/bin/*
     chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/bin/*
+    find $BUILD_DIR_HESTIA/usr/local/hestia/install/ \( -name '*.sh' \) -exec chmod +x {} \;
+    chmod -x $BUILD_DIR_HESTIA/usr/local/hestia/install/* 
     chown -R root:root $BUILD_DIR_HESTIA
     chown -R root:root $BUILD_DIR_HESTIA
 
 
     if [ "$BUILD_DEB" = true ]; then
     if [ "$BUILD_DEB" = true ]; then