armbian: fix cron permissions bug (2)

This commit is contained in:
nachoparker 2019-01-22 15:22:24 -07:00
parent 9a6e6f536a
commit b7efa7afdb
5 changed files with 9 additions and 6 deletions

View File

@ -44,7 +44,7 @@ configure()
/usr/local/bin/btrfs-snp $MOUNTPOINT weekly 4 604800 ../ncp-snapshots
/usr/local/bin/btrfs-snp $MOUNTPOINT monthly 12 2592000 ../ncp-snapshots
EOF
chmod 644 /etc/cron.hourly/btrfs-snp
chmod 755 /etc/cron.hourly/btrfs-snp
echo "automatic snapshots enabled"
}

View File

@ -35,7 +35,7 @@ if [[ \${PIPESTATUS[0]} -eq 0 ]]; then
fi
echo "" >> /var/log/ncp.log
EOF
chmod 644 /etc/cron.daily/ncp-autoupdate-nc
chmod 755 /etc/cron.daily/ncp-autoupdate-nc
echo "automatic Nextcloud updates enabled"
}

View File

@ -26,7 +26,7 @@ if /usr/local/bin/ncp-test-updates; then
-l "NextCloudPi was updated to \$( cat /usr/local/etc/ncp-version )"
fi
EOF
chmod 644 /etc/cron.daily/ncp-autoupdate
chmod 755 /etc/cron.daily/ncp-autoupdate
echo "automatic NextCloudPi updates enabled"
}

View File

@ -1,7 +1,9 @@
[v1.4.4](https://github.com/nextcloud/nextcloudpi/commit/a5db49d) (2019-01-22) armbian: fix cron permissions bug
[v1.4.5](https://github.com/nextcloud/nextcloudpi/commit/44ca547) (2019-01-22) armbian: fix cron permissions bug (2)
[v1.4.3](https://github.com/nextcloud/nextcloudpi/commit/0e062aa) (2019-01-21) dnsmasq: detect IP from config file (#782)
[v1.4.4 ](https://github.com/nextcloud/nextcloudpi/commit/af426a5) (2019-01-22) armbian: fix cron permissions bug
[v1.4.3 ](https://github.com/nextcloud/nextcloudpi/commit/0e062aa) (2019-01-21) dnsmasq: detect IP from config file (#782)
[v1.4.2 ](https://github.com/nextcloud/nextcloudpi/commit/57728e2) (2019-01-21) Proposed fix for issue #773 (#781)

View File

@ -272,7 +272,8 @@ ncc config:system:set trusted_domains 1 --value=$ip
EOF
# fix Armbian cron bug
chmod 644 /etc/cron.daily/* /etc/cron.d/* /etc/cron.hourly/*
chmod 644 /etc/cron.d/*
chmod 755 /etc/cron.daily/* /etc/cron.hourly/*
# remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968
# Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last)