Skip to content

Commit 9091e1f

Browse files
authored
Merge pull request hestiacp#1855 from jaapmarcus/fix/1845-fix-premision-sh-files
Fix permissions .sh file in /install/ folder
2 parents 47cda0f + e79d6f7 commit 9091e1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hst_autocompile.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,8 @@ if [ "$HESTIA_B" = true ]; then
625625
chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/web/inc/mail-wrapper.php
626626
# Allow the executable to be executed
627627
chmod +x $BUILD_DIR_HESTIA/usr/local/hestia/bin/*
628+
find $BUILD_DIR_HESTIA/usr/local/hestia/install/ \( -name '*.sh' \) -exec chmod +x {} \;
629+
chmod -x $BUILD_DIR_HESTIA/usr/local/hestia/install/*
628630
chown -R root:root $BUILD_DIR_HESTIA
629631

630632
if [ "$BUILD_DEB" = true ]; then

0 commit comments

Comments
 (0)