Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: skip the sticky-.Trash fallback case when running as root (#12901)
Adam Eivyb0b7e711a79f
diff --git a/server/lib/nativeTrashXdg.test.js b/server/lib/nativeTrashXdg.test.jsindex 7f31eb0897..c7ffe2a3d6 100644--- a/server/lib/nativeTrashXdg.test.js+++ b/server/lib/nativeTrashXdg.test.js@@ -282,6 +282,8 @@ describe.skipIf(process.platform === 'win32')('XDG trash adapter', () => {it('falls back to .Trash-<uid> when the sticky shared .Trash cannot hold a per-user directory', async ({ skip }) => {if (!otherRoot) skip();+ // Root bypasses the mode bits that make the shared .Trash unusable, so the adapter correctly uses .Trash/0.+ if (process.getuid() === 0) skip('root writes through a 0o1500 .Trash; the fallback cannot be produced');const uid = process.getuid();const shared = join(other, '.Trash');if (await exists(shared)) skip();