Browse Source

Fix error in installer:
/usr/local/hestia/web/inc/mail-wrapper.php: Permission denied

Jaap Marcus 5 years ago
parent
commit
1c17be2927
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/hst_autocompile.sh

+ 4 - 0
src/hst_autocompile.sh

@@ -589,6 +589,10 @@ if [ "$HESTIA_B" = true ]; then
 
 
     # Set permissions
     # Set permissions
     find $BUILD_DIR_HESTIA/usr/local/hestia/ -type f -exec chmod -x {} \;
     find $BUILD_DIR_HESTIA/usr/local/hestia/ -type f -exec chmod -x {} \;
+    
+    # Allow send email via /usr/local/hestia/web/inc/mail-wrapper.php via cli
+    chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/web/inc/mail-wrapper.php
+    # Allow the executable to be executed
     chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/bin/*
     chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/bin/*
     chown -R root:root $BUILD_DIR_HESTIA
     chown -R root:root $BUILD_DIR_HESTIA