Suspected: plugin install/update changes permissions of / and /usr to 775, breaking sshd StrictModes
Summary
On an Unraid system running Borg Backup UI, / and /usr were found with mode 775 instead of the standard 755. This broke SSH public-key login system-wide with:
sshd-session[...]: Authentication refused: bad ownership or modes for directory /
(sshd's StrictModes walks the full path to authorized_keys, so a wrong mode on / alone is enough to block all key-based logins.)
We strongly suspect this plugin is the cause, but have not been able to fully re-confirm it after removing the plugin (see "What we could not fully verify" below). Filing this as a reasoned suspicion rather than a confirmed root cause.
Why we suspect this plugin
We don't have a direct causal proof (e.g. a captured strace of installpkg), but the circumstantial evidence is strong:
- Timing correlation via
ls -ldmtimes./and/usrboth showed mtimeSep 5 13:19, matching nothing else on the system. - That timestamp matches the plugin's build-version string, not a random moment. The installed package at the time was
borg-backup-ui-2026.09.05.1319.txz— note09.05.1319mirrors the mtime exactly (Sep 5, 13:19). This is consistent withtarpreserving the archive's stored mtime for directory entries on extraction — i.e. the package's.txzappears to contain./and/or./usr/as explicit directory entries carrying the build-time mtime, and those got applied to the live filesystem on install. - Syslog shows the plugin's install/update actions correlate with the timeline of the break.
plugin-managerlogs on the affected system show repeatedborg-backup-uipackage installs/updates (auto-update atSep 6 02:00:05runningborg-backup-ui-package-install-2026.09.05.1319.sh, plus prior updates on Aug 29/30, Sep 3, Sep 4). The system had no other plugin installed/updated in that window that would plausibly touch/or/usr. - A second, otherwise-identical Unraid system without this plugin installed did not exhibit the problem (
/,/usr,/etcall normal755), which argues against a generic Unraid OS/base issue and points at something specific to this plugin's presence.
What we could not fully verify
- We removed the plugin before we could re-extract that specific
.txzand directly inspect its tar entries for.//./usr/withtar -tvJf ... | grep -E '^d.*(\./$|\./usr/$)'. So we cannot paste a definitive "yes, the archive contains these entries with mode 775" listing here. - We have not reproduced this on a clean test VM by installing/updating the plugin and watching
/and/usrmode before/after.
Suggested next step for maintainers
Since you have direct access to the plugin/build.sh packaging script and the release artifacts, it should be quick to confirm or rule this out from your side:
tar -tvJf releases/borg-backup-ui-<any-recent-version>.txz | grep -E '^d.*(\./$|\./usr/$)'
If ./ or ./usr/ (or other pre-existing system directories) show up as explicit entries — especially with mode 775 — that would confirm the mechanism: Slackware's installpkg/tar extraction applies the archive's directory mode (and mtime) to already-existing system directories, not just to the plugin's own subtree.
If confirmed, the fix would be to ensure plugin/build.sh never includes bare entries for pre-existing system paths (./, ./usr/, ./etc/, etc.) in the packaged tar — only the plugin's own paths (e.g. ./boot/config/plugins/borg-backup-ui/, ./usr/local/emhttp/plugins/borg-backup-ui/) should appear, or any such top-level entries should explicitly carry mode 755.
Impact if confirmed
- Every install/auto-update of the plugin would silently break SSH public-key authentication for the whole host (not just plugin-related paths), since
StrictModeschecks the entire path up toauthorized_keys. - Recovery requires an admin to manually run
chmod 755 / /usr(and check other top-level dirs) — not obvious to trace back to this plugin unless someone happens to correlate mtimes with install timestamps, as we did.
Environment
- Unraid 7.2.x
- Borg Backup UI version at time of incident:
2026.09.05.1319 - Plugin has since been uninstalled on the affected system, so we can no longer pull further diagnostics from it directly.
Happy to help test a fix or provide more Unraid-side logs if useful — just let us know what would help confirm/deny this.
Confirmed with a clean before/after test
We reinstalled the plugin and captured direct evidence. This is no longer a suspicion — it's reproducible.
Before installing (previous package, mode 755 everywhere):
root@nasbt:~# ls -ld /etc /usr /var /boot /mnt /
drwxr-xr-x 21 root root 440 Sep 5 13:19 //
drwx------ 11 root root 16384 Jan 1 1970 /boot/
drwxrwxr-x 64 root root 3280 Sep 6 02:00 /etc/
drwxr-xr-x 17 root root 340 Aug 10 02:06 /mnt/
drwxrwxr-x 1 root root 240 Sep 5 13:19 /usr/
drwxr-xr-x 15 root root 360 Aug 10 02:05 /var/
(Note: /etc already shows 775 here from a previous install of this same plugin that we hadn't cleaned up yet — see below, this confirms the pattern isn't limited to / and /usr.)
Immediately after installing version 2026.09.06.0112:
root@nasbt:~# ls -ld /etc /usr /var /boot /mnt /
drwxrwxr-x 21 root root 440 Sep 6 01:12 //
drwx------ 11 root root 16384 Jan 1 1970 /boot/
drwxrwxr-x 64 root root 3280 Sep 6 20:21 /etc/
drwxr-xr-x 17 root root 340 Aug 10 02:06 /mnt/
drwxrwxr-x 1 root root 240 Sep 6 01:12 /usr/
drwxr-xr-x 15 root root 360 Aug 10 02:05 /var/
/ flipped from 755 → 775, and its mtime now reads Sep 6 01:12 — exactly matching the new package version string 2026.09.06.0112. Same for /usr.
Direct proof from the package archive itself:
root@nasbt:~# find /boot/config/plugins/borg-backup-ui -name "*.txz"
/boot/config/plugins/borg-backup-ui/borg-backup-ui-2026.09.06.0112.txz
root@nasbt:~# tar -tvJf /boot/config/plugins/borg-backup-ui/borg-backup-ui-2026.09.06.0112.txz | grep -E '^d.*(\./$|\./usr/$|\./etc/$)'
drwxrwxr-x root/root 0 2026-09-06 01:12 ./
drwxrwxr-x root/root 0 2026-09-06 01:12 ./usr/
drwxrwxr-x root/root 0 2026-09-06 01:12 ./etc/
So the package .txz itself contains ./, ./usr/, and ./etc/ as explicit directory entries, all with mode 775. This confirms the mechanism exactly as suspected: whatever tars up the release artifact in plugin/build.sh is capturing these pre-existing system directories (likely because the build runs tar -C /some/staging/root ... where the staging root itself, plus usr/ and etc/ subdirectories created for staging purposes, ended up at 775, and that got included in the final archive instead of being scoped to only the plugin's own paths).
Updated fix suggestion
The archive should not contain ./, ./usr/, or ./etc/ at all — only the plugin's actual payload paths (e.g. ./boot/config/plugins/borg-backup-ui/..., ./usr/local/emhttp/plugins/borg-backup-ui/...). A quick check in CI/mr-preflight.sh could assert this, e.g.:
tar -tJf releases/borg-backup-ui-<version>.txz | grep -E '^\./$|^\./usr/$|^\./etc/$' && exit 1
Happy to test a fix build against this same reproduction if useful.
We have confirmed a packaging defect: the plugin archives contain explicit entries for shared system directories, including /, /usr, and /etc, with mode 0775. Extracting these entries can overwrite existing directory permissions.
Findings
- All five retained stable packages, from 2026.08.29.2323 through 2026.09.06.0112, contain these directory entries with mode 0775.
- The current test candidate 2026.09.06.2045 is also affected.
- An isolated extraction test reproduced the problem: directories initially set to 0755 changed to 0775 after extracting their directory entries from the package. No live system directories were modified during this test.
- Existing package checks did not detect this problem because they did not validate the treatment of shared system directories.
Next steps
- Record directory permissions and ownership on a fresh Unraid installation before installing additional plugins, together with the exact Unraid version.
- Use that reference to prepare a version-specific repair guide, including checks before and after repair. The guide will target confirmed plugin-induced changes and account for intentional local customizations. It will not use recursive permission changes or disable SSH StrictModes.
- Prepare a separate packaging fix based on main. Shared system directory entries must no longer overwrite host permissions, and plugin-owned paths must receive explicit, appropriate permissions regardless of the build environment.
- Add artifact validation and regression tests covering both packaging paths and extraction over directories with existing permissions.
- Publish a corrected test candidate for validation on Unraid. A stable release will follow after successful testing and explicit approval.
The corrected package will prevent recurrence. Repairing permissions already changed by an affected package is a separate step. The repair guide will be available in German and English in the user manual and linked from this issue and the hotfix release notes.
At the maintainer's request, work on this issue is postponed until the Unraid system has been reinstalled and a clean reference is available. The confirmed packaging defect remains open. The current #447 migration follow-up does not resolve #484.
Main baseline ready for the installation/reboot comparison
The maintainer has resumed testing and will use Unraid 7.4.0-beta.2. The two supplied directory snapshots have identical modes and ownership. Because a plugin uninstall and manual directory restoration were also reported, those snapshots alone do not establish reboot-only recovery or contradict the earlier immediate before/after reproduction.
A new baseline test candidate has been published, as requested, with the plugin and packaging source unchanged from main:
- Test version:
2026.09.07.0850 - Main baseline:
a5a02fe7b8488bc7de2664ab0a4f6655a145765e - Source branch:
codex/issue-484-main-permissions-baseline - Source commit:
2dda76acb169b4cb03004794ccb8a20299dccf5a - Documentation-only draft PR: #487
- Deployable source digest, identical to main:
00b712f36821159720273c03d297c3b1a45816e33b44ffacbb0313f8dd060822 - Test-channel snapshot:
6bbeefe45cd5598239e4bf77ca5ec259da548681 - Package MD5:
954f331e2a19450922e6fba65f24038c - Preflight: passed once for this pushed commit; 791 tests passed, 3 skipped.
- Remote manifest version, plugin URL, package URL, installer MD5 and package provenance verified. The snapshot contains exactly one manifest and one package.
The new package still contains the affected shared directory entries with mode 0775: /, /usr, /usr/local, /usr/local/emhttp, /usr/local/emhttp/plugins, /etc, /etc/rc.d, /boot, /boot/config and /boot/config/plugins. This is the requested reproduction candidate, not a fix. Archived modes are evidence about the package; the live mount/filesystem determines which changes actually take effect.
Use the same read-only command on the same host before installation, immediately after installation, and after a normal reboot with the plugin still installed:
stat -c '%a %U:%G %n' \
/ /boot /boot/config /boot/config/plugins \
/etc /etc/rc.d \
/usr /usr/local /usr/local/emhttp /usr/local/emhttp/plugins \
/mnt /var
Keep the complete /usr/local/emhttp/plugins path in one argument. The maintainer's reference includes 0700 for the inspected /boot paths and 0777 for /etc/rc.d; do not replace those values with a blanket 0755 repair. Save each capture outside RAM-backed storage before rebooting. Keep WebGUI or local-console access available because incorrect root permissions can affect SSH public-key login.
If a normal reboot leaves the wrong permissions in place, capture again after uninstalling the affected plugin and then after rebooting without it, with no manual chmod in between. This separates base-system restoration from plugin startup reapplication. Unraid loads its Linux core into RAM and then loads installed plugins during startup (official boot-sequence documentation).
Awaiting the maintainer's live measurements. A reboot recovery recommendation will depend on those results, including any prerequisite to remove or update the faulty plugin. The packaging fix remains necessary to prevent recurrence; this candidate does not resolve #484. No live host installation, reboot or permission repair was performed by the development task.
Maintainer reproduction: permissions changed immediately after installation
On 2026-09-07 the maintainer supplied the following before/after measurements on TheTwist for the main-baseline installation test described above.
Test context:
- Unraid:
7.4.0-beta.2(maintainer-confirmed). - Provided baseline candidate:
2026.09.07.0850, built from unchanged main plugin and packaging source; source commit2dda76acb169b4cb03004794ccb8a20299dccf5a. - These are live host measurements supplied by the maintainer, not local archive extraction results. The outputs themselves do not include the plugin version.
Before installation
755 root:root /
700 root:root /boot
700 root:root /boot/config
700 root:root /boot/config/plugins
755 root:root /etc
777 root:root /etc/rc.d
755 root:root /usr
755 root:root /usr/local
755 root:root /usr/local/emhttp
755 root:root /usr/local/emhttp/plugins
755 root:root /mnt
755 root:root /var
Immediately after installation
Command:
stat -c '%a %U:%G %n' \
/ /boot /boot/config /boot/config/plugins \
/etc /etc/rc.d \
/usr /usr/local /usr/local/emhttp /usr/local/emhttp/plugins \
/mnt /var
Output:
775 root:root /
700 root:root /boot
700 root:root /boot/config
700 root:root /boot/config/plugins
775 root:root /etc
777 root:root /etc/rc.d
775 root:root /usr
775 root:root /usr/local
775 root:root /usr/local/emhttp
775 root:root /usr/local/emhttp/plugins
755 root:root /mnt
755 root:root /var
Observed changes
Six directories changed from 0755 to 0775: /, /etc, /usr, /usr/local,
/usr/local/emhttp and /usr/local/emhttp/plugins. Group-write permission was
added. Ownership remained root:root for every inspected path.
The inspected /boot paths remained 0700, /etc/rc.d remained 0777, and
/mnt and /var remained 0755. The live /etc/rc.d value must not be confused
with the 0775 entry previously observed inside the package archive.
This confirms the installation-induced permission change on this maintainer test system. It does not yet establish whether reboot restores the original modes.
Next measurements requested by the maintainer
- Normal reboot with the plugin still installed: repeat the same
statcommand and preserve the output. - Reboot with the plugin uninstalled: uninstall through Unraid, capture once immediately after uninstall and before reboot, then reboot and capture again. The additional pre-reboot capture distinguishes any uninstall effect from the effect of rebooting.
Do not manually change permissions between the measurements. If a stage already has the original modes before reboot, it cannot demonstrate that the following reboot repaired them. Preserve each output before moving to the next stage.
Both reboot outcomes are pending. No reboot-only recovery claim or final repair recommendation is made yet. The packaging fix remains outstanding and this baseline test does not resolve #484. Related test-protocol PR: #487.
Reboot with plugin installed: original directory permissions restored
The maintainer completed the first reboot test on TheTwist, running Unraid
7.4.0-beta.2, following the installation measurements above. Borg Backup UI
remained installed and was reported running after startup. The test context is
the main-baseline candidate 2026.09.07.0850 described in the previous comments.
The maintainer supplied the following output on 2026-09-07:
root@TheTwist:~# uptime
09:16:05 up 6 min, 1 user, load average: 1.10, 1.66, 0.90
The same directory capture command was used:
stat -c '%a %U:%G %n' \
/ /boot /boot/config /boot/config/plugins \
/etc /etc/rc.d \
/usr /usr/local /usr/local/emhttp /usr/local/emhttp/plugins \
/mnt /var
Result after reboot:
755 root:root /
700 root:root /boot
700 root:root /boot/config
700 root:root /boot/config/plugins
755 root:root /etc
777 root:root /etc/rc.d
755 root:root /usr
755 root:root /usr/local
755 root:root /usr/local/emhttp
755 root:root /usr/local/emhttp/plugins
755 root:root /mnt
755 root:root /var
Comparison with the earlier captures
| Path | Before installation | After installation | After reboot, plugin installed |
|---|---|---|---|
/ |
0755 |
0775 |
0755 |
/etc |
0755 |
0775 |
0755 |
/usr |
0755 |
0775 |
0755 |
/usr/local |
0755 |
0775 |
0755 |
/usr/local/emhttp |
0755 |
0775 |
0755 |
/usr/local/emhttp/plugins |
0755 |
0775 |
0755 |
All twelve inspected paths now match the pre-installation modes and ownership.
The /boot paths remain 0700, /etc/rc.d remains 0777, /mnt and /var
remain 0755; all owners/groups remain root:root.
Result and limits
- PASS: reboot recovery with Borg Backup UI still installed and running.
In this observed sequence on Unraid
7.4.0-beta.2, uninstalling the plugin was not required to restore the inspected directory permissions. - The earlier concern that plugin startup might reapply the incorrect modes did not materialize in the final measured state. These captures do not establish whether the package was extracted again during startup or identify the precise restoration mechanism.
- SSH public-key login was not reported in this capture; restored modes alone must not be recorded as a completed SSH login test.
- This establishes an observed recovery route for the tested system/version, not a verified claim for every Unraid release or installation path.
- The packaging defect is still open: the unchanged candidate stores incorrect shared-directory modes and the immediate installation change was reproduced. A fix is still needed to prevent recurrence on installation/update.
- The separately planned reboot comparison after uninstall has not been reported yet. Since the current modes are already correct, any later claim of repair must distinguish a fresh incorrect pre-reboot state from simple preservation of the correct state.
This updates the first reboot test from pending to passed. It does not close #484 or approve a stable release. Related test-protocol PR: #487.
Recovery test complete: no uninstall/reboot comparison required
The maintainer clarified that the purpose of the test was to determine how to
restore the permissions changed by installation. That question is answered by
the completed captures on Unraid 7.4.0-beta.2:
- Installation changed six inspected directories from
0755to0775. - A normal reboot restored every inspected mode and owner/group to its original value, with Borg Backup UI still installed and running.
- The completed reboot did not leave the installation-induced permission changes in place. Uninstalling the plugin or manually changing permissions was not necessary for recovery in this test.
The additional uninstall/reboot comparison is not required and is removed from the outstanding work, at the maintainer's request. This supersedes the earlier comments that listed that comparison as pending, as well as that optional stage in the original baseline protocol in #487. No further reproduction test is required to answer this recovery question.
The recovery recommendation established for the tested environment is: reboot Unraid normally, then verify the directory permissions with the documented stat command. The plugin can remain installed.
Remaining work for #484 is the packaging fix to prevent the permission change at installation/update, followed by verification of the corrected test package. The successful reboot recovery does not make the faulty package acceptable and does not close the packaging issue.
Corrected test candidate ready: 2026.09.07.0935
The packaging fix is implemented in draft PR #488, based directly on main. The previous baseline and its completed reboot-recovery results remain documented above; no additional uninstall/reboot test is requested.
Both tar and makepkg build routes now filter the completed package before its checksum is calculated. Shared system-directory entries are removed; plugin-owned directories and executable files use 0755, other regular files use 0644, with root:root ownership. The existing installer behavior is preserved. Package verification now rejects shared directory entries or unsafe payload metadata before publication/promotion. No live-host chmod or automatic repair is added.
Verified candidate
- Version:
2026.09.07.0935 - Branch:
codex/issue-484-package-permissions - Source commit:
81fcea023a118c43a570bc661f06d580f5bbda29 - Source digest:
e2888ae888fcefff5fb77a0287db9b694d945da7cabed873b3859e17e707729d - Snapshot:
4edc5602ef9f1ff122ff7a56f7bb1bf027429a1c - Package MD5:
54de28ec4ec396f651825a9d28559fe0 - Test installation manifest
Remote manifest version, plugin URL, package URL, installer MD5, provenance and release-note fragment were verified. The snapshot contains exactly one manifest and one package. The downloaded package contains zero shared system-directory entries. Extracting this exact downloaded package over an isolated directory tree with the twelve recorded Unraid reference modes preserved every inspected mode, owner and group. Plugin payload and executable startup script were present.
Tests and recovery documentation
- 39 focused packaging/release-workflow tests passed, including 18 new regression cases covering build umasks, existing/customized directory modes, links, generated hooks, fresh extraction, metadata validation and failure handling.
- Final preflight passed once for this pushed commit: 810 passed, 2 skipped in 169.35 seconds. The two skipped tests need a local Borg executable. Node.js was available and the previously skipped activity-log UI test passed.
- makepkg routing is covered with a controlled fixture; the actual Unraid package installation remains the maintainer's pending acceptance test.
- German and English user-manual section 13.6 documents reboot recovery as observed on Unraid 7.4.0-beta.2. Installing the fixed package preserves current modes and does not repair permissions already changed by an older package automatically.
Maintainer acceptance test
Capture the same stat output immediately before installation/update and
immediately after installing 2026.09.07.0935, before any reboot or manual
permission changes. Expected result: every inspected mode, owner and group is
unchanged, including the 0700 boot paths and 0777 /etc/rc.d reference.
Waiting for that installation comparison. No stable release is approved yet.
Maintainer acceptance test passed: installation preserves directory permissions
The maintainer tested the corrected candidate on TheTwist with Unraid
7.4.0-beta.2 on 2026-09-07. The application's authenticated admin session showed
version 2026.09.07.0935 at 09:41:44 after installation.
The captures span the same boot session:
Before installation:
09:40:00 up 30 min, 1 user, load average: 1.79, 2.12, 1.81
After installation:
09:42:04 up 32 min, 1 user, load average: 2.76, 2.45, 1.98
The maintainer ran the same command before and after installing the fix:
stat -c '%a %U:%G %n' \
/ /boot /boot/config /boot/config/plugins \
/etc /etc/rc.d \
/usr /usr/local /usr/local/emhttp /usr/local/emhttp/plugins \
/mnt /var
Complete comparison
| Path | Before (09:40) | After (09:42) | Owner/group before and after |
|---|---|---|---|
/ |
755 |
755 |
root:root |
/boot |
700 |
700 |
root:root |
/boot/config |
700 |
700 |
root:root |
/boot/config/plugins |
700 |
700 |
root:root |
/etc |
755 |
755 |
root:root |
/etc/rc.d |
777 |
777 |
root:root |
/usr |
755 |
755 |
root:root |
/usr/local |
755 |
755 |
root:root |
/usr/local/emhttp |
755 |
755 |
root:root |
/usr/local/emhttp/plugins |
755 |
755 |
root:root |
/mnt |
755 |
755 |
root:root |
/var |
755 |
755 |
root:root |
PASS: all twelve directory modes and all owners/groups are unchanged across
installation, including the 700 boot paths and 777 /etc/rc.d. The six paths
that changed to 775 with the previous package remain 755 with the fix.
The application is accessible and reports the tested version. No intervening
reboot was used to obtain the successful after-installation result.
This completes the agreed installation acceptance test for PR #488. The separate recovery question was already answered by the earlier normal-reboot test; no uninstall/reboot comparison is outstanding.
Tested source: 81fcea023a118c43a570bc661f06d580f5bbda29.
Test snapshot: 4edc5602ef9f1ff122ff7a56f7bb1bf027429a1c.
Package MD5: 54de28ec4ec396f651825a9d28559fe0.
The implementation PR can proceed to review. This reports the successful user test; no stable release has been requested or approved by this result alone.
The implementation now continues in #491, authored by borg-codex-bot.
It replaces #488 solely to correct authorship. The tested source commit,
accepted package 2026.09.07.0935 and successful maintainer test are unchanged.
The completed baseline PR #487 is closed without merging its original test plan. Its evidence remains in this issue; the fix includes the recovery documentation. Agent-only bot authorship is made mandatory in #489 / #490. No stable release has been prepared or approved as part of this account correction.
The maintainer has explicitly approved stable release creation after the
successful installation test. Release PR #492 now promotes version
2026.09.07.0935 from current main using the byte-identical accepted package.
- Release commit:
d8d1edbd475228fc34f78d26fcb8d0334515307e. - Author and committer:
borg-codex-bot. - MD5:
54de28ec4ec396f651825a9d28559fe0. - SHA-256:
0ad07cd164722d84c3d4b896a77816eeb0694936a7eea74f65bf803d747e7429. - Artifact-only release preflight passed; no rebuild or repeated full test suite.
- German and English forum announcements are prepared for the maintainer.
The separate release PR requires GitHub review and merge before the stable manifest on main is updated. No forum announcement has been posted automatically.
@DasAoD Could you please test Borg Backup UI 2026.09.07.0935 on your system and report your exact Unraid version?
Please capture the directory permissions:
- Before installing the update.
- Immediately after installation, before rebooting.
- After rebooting, with Borg Backup UI still installed.
Use the same command at each stage:
stat -c '%a %U:%G %n' \
/ /boot /boot/config /boot/config/plugins \
/etc /etc/rc.d \
/usr /usr/local /usr/local/emhttp /usr/local/emhttp/plugins \
/mnt /var
Please avoid manually changing permissions between these checks. Also confirm whether Borg Backup UI starts successfully after reboot and SSH public-key login works again. Our installation test on Unraid 7.4.0-beta.2 showed unchanged permissions with the corrected package. Your results will help verify the fix on your Unraid version as well.
Thank you for reporting the issue and helping validate the fix!
Validation on a completely fresh, clean Unraid install
At the maintainer's request, we set up a brand-new Unraid installation (fresh USB flash drive, stock Unraid OS 7.3.2 stable — not a beta/RC) specifically for this test, rather than reusing the machine from the original report. This gives a genuinely clean baseline with no prior plugin history.
We ran the test in two passes.
Pass 1 — exact requested test candidate (2026.09.07.0935), manual install
Downloaded directly from the repo and installed via installpkg (bypassing Community Apps, since that always pulls the current latest release rather than a specific pinned version):
wget https://raw.githubusercontent.com/borgforge/borg-backup-ui/main/releases/borg-backup-ui-2026.09.07.0935.txz
installpkg borg-backup-ui-2026.09.07.0935.txz
stat -c '%a %U:%G %n' / /boot /boot/config /boot/config/plugins /etc /etc/rc.d /usr /usr/local /usr/local/emhttp /usr/local/emhttp/plugins /mnt /var, captured before install and immediately after install — identical, byte-for-byte:
755 root:root /
700 root:root /boot
700 root:root /boot/config
700 root:root /boot/config/plugins
755 root:root /etc
777 root:root /etc/rc.d
755 root:root /usr
755 root:root /usr/local
755 root:root /usr/local/emhttp
755 root:root /usr/local/emhttp/plugins
755 root:root /mnt
755 root:root /var
Also directly re-confirmed the archive itself no longer contains the problematic entries:
tar -tvJf borg-backup-ui-2026.09.07.0935.txz | grep -E '^d.*(\./$|\./usr/$|\./etc/$|\./boot/$)'
→ no output, i.e. none of those directories appear as explicit entries in the package anymore.
Caveat on this pass: since we installed via raw installpkg rather than the .plg, the plugin did not get registered for Unraid's boot-time plugin reinstall (Unraid's root filesystem is RAM-based; plugins normally get re-extracted from their .plg/.txz on every boot). So this pass validates the installation step itself, but not the boot-persistence cycle. That's what pass 2 covers.
Pass 2 — current release (2026.09.12.0054), full install via Community Apps + reboot
Since 2026.09.07.0935 is no longer the latest release, we couldn't get Community Apps to pull that specific pinned version — this pass used whatever CA currently serves, which was 2026.09.12.0054 (again, stable, not beta). Installed normally through Community Apps (the real .plg path, so the boot-time reinstall mechanism is actually exercised this time), Python 3 for Unraid installed as a dependency, then rebooted.
Same stat command, three captures — before install, immediately after install, and after a full reboot with the plugin still installed — all three identical, diff against the pre-install baseline returns exit code 0 for both the post-install and post-reboot captures.
Post-reboot, also confirmed:
- Plugin process actually running:
root ... /usr/bin/python3 /boot/config/plugins/borg-backup-ui/borg_backup_ui.py rc.borg_backup_uipresent under/etc/rc.d(correctly reinstalled by the boot-time plugin loader)- Package correctly re-registered:
borg-backup-ui-2026.09.12.0054present in/var/log/packages/ - SSH public-key login still works after reboot (used throughout to run these checks)
Environment
- Unraid OS 7.3.2 (stable)
- Plugin versions tested:
2026.09.07.0935(pass 1, manual install) and2026.09.12.0054(pass 2, full CA install + reboot) - Fresh, dedicated USB flash drive / fresh install, no prior Borg Backup UI history
Both passes point the same direction: fix confirmed, no regression across install → reboot → reinstall cycle.
We're also going to repeat this same procedure on the originally-affected system (once we've finished separately evaluating it for something unrelated) and will report back if anything differs there.
Additional confirmation on the originally-affected system
As a follow-up to the fresh-install validation above, we also repeated the test on the actual system from the original report (rather than only a clean throwaway install) — this one has the real history of having been broken by the old package versions.
Same procedure: stat baseline captured before install, installed 2026.09.12.0054 via Community Apps, stat again immediately after install (identical, no changes), then a full reboot (this system also runs several active VMs, which came back up cleanly), and a final stat post-reboot — still identical to the baseline across all checked paths (/, /boot, /boot/config, /boot/config/plugins, /etc, /etc/rc.d, /usr, /usr/local, /usr/local/emhttp, /usr/local/emhttp/plugins, /mnt, /var).
Post-reboot, also confirmed on this system:
- Plugin process running (
borg_backup_ui.py) rc.borg_backup_uipresent and package correctly re-registered- SSH public-key login unaffected
- All VMs came back up and running normally
So the fix holds both on a clean install and on the system that originally hit this bug. Consider this confirmed from our side.