diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-01-23 01:22:24 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-01-23 01:22:32 +0300 |
commit | b7efa7afdb22abc04a05c80fd272312f6f725f05 (patch) | |
tree | b07d76e9406e7830e1d788bb1a1fca6b90b343c0 | |
parent | 9a6e6f536a579cbaa47a16bbda3bc305dfe4ebe2 (diff) |
armbian: fix cron permissions bug (2)v1.4.5
-rw-r--r-- | bin/ncp/BACKUPS/nc-snapshot-auto.sh | 2 | ||||
-rw-r--r-- | bin/ncp/CONFIG/nc-autoupdate-nc.sh | 2 | ||||
-rw-r--r-- | bin/ncp/CONFIG/nc-autoupdate-ncp.sh | 2 | ||||
-rw-r--r-- | changelog.md | 6 | ||||
-rwxr-xr-x | update.sh | 3 |
5 files changed, 9 insertions, 6 deletions
diff --git a/bin/ncp/BACKUPS/nc-snapshot-auto.sh b/bin/ncp/BACKUPS/nc-snapshot-auto.sh index cc7baebd..91d11349 100644 --- a/bin/ncp/BACKUPS/nc-snapshot-auto.sh +++ b/bin/ncp/BACKUPS/nc-snapshot-auto.sh @@ -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" } diff --git a/bin/ncp/CONFIG/nc-autoupdate-nc.sh b/bin/ncp/CONFIG/nc-autoupdate-nc.sh index 4388fe2a..94609f23 100644 --- a/bin/ncp/CONFIG/nc-autoupdate-nc.sh +++ b/bin/ncp/CONFIG/nc-autoupdate-nc.sh @@ -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" } diff --git a/bin/ncp/CONFIG/nc-autoupdate-ncp.sh b/bin/ncp/CONFIG/nc-autoupdate-ncp.sh index 4fc6388c..decd3356 100644 --- a/bin/ncp/CONFIG/nc-autoupdate-ncp.sh +++ b/bin/ncp/CONFIG/nc-autoupdate-ncp.sh @@ -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" } diff --git a/changelog.md b/changelog.md index 48aa4212..318ef748 100644 --- a/changelog.md +++ b/changelog.md @@ -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) @@ -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) |