File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ All notable changes to this project will be documented in this file.
3434- Performance: Do not load complete notifications list on every page load, reduced load time from over 1sec to under 100ms
3535- Performance: Do not resolve ip when listing iptables rules. Server tab could take multiple minutes to load in some cases.
3636- Update jQuery to 3.4.1 and adjust includes.
37+ - Fixed cronjob issue with sftp jail due to missing user.
3738
3839## [ 1.0.5] - 2019-08-06 - Hotfix
3940### Bugfixes
Original file line number Diff line number Diff line change 7373
7474# Add v-add-sys-sftp-jail to startup
7575if [ ! -e " /etc/cron.d/hestia-sftp" ]; then
76- echo " @reboot /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
76+ echo " @reboot admin /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
7777fi
7878
7979# ----------------------------------------------------------#
Original file line number Diff line number Diff line change 6767if [ -d /home/admin ]; then
6868 setfacl -m " g:admin:r-x" /home/admin
6969fi
70+
71+ # Fix sftp jail cronjob
72+ if [ -e " /etc/cron.d/hestia-sftp" ]; then
73+ if ! cat /etc/cron.d/hestia-sftp | grep -q ' admin' ; then
74+ echo " @reboot admin /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
75+ fi
76+ fi
You can’t perform that action at this time.
0 commit comments