Skip to content

0.2.1

Choose a tag to compare

@gioxx gioxx released this 31 Aug 21:05
· 33 commits to main since this release
b347558

A small follow-up to 0.2.0 that removes a cosmetic "Permission denied" line from the web UI.

Fixes

  • _common.sh sources etc/guard.secret only when the caller can read it ([ -r ] instead of [ -f ]). guard.secret is chmod 600, so when the web UI runs start-stop-status status as the unprivileged DSM web user, the source attempt failed and a "Permission denied" line showed up in the Advanced → raw status output panel. Non-root callers now simply run without RPC credentials - which they never need - and the panel is clean again.

No change to protection behaviour. Routing, the reconcile daemon, the RPC push (as root) and everything else are identical to 0.2.0.

Upgrade notes

  • Drop-in upgrade for 0.2.0. No guard.conf / guard.secret changes required.
  • Re-run the activation Task Scheduler job after upgrading - DSM resets the privilege file on package update.
  • If you are coming from 0.1.x, read the 0.2.0 notes first.

PR: #19