[Critical Bug] Spacedrive automatically deletes root-level folder named "tmp" on tracked volumes
Author: simulator-liveCreated Apr 16, 2026Updated Aug 3, 2026
Labelskind/bugstatus/needs-triage
Check for other issues
- I've checked for other issues, and none exist.
Issue description
When Spacedrive starts with default settings, any folder named tmp located at the root of a tracked volume is automatically deleted.
This happens even when the folder is non-empty and contains large amounts of data.
Other folder names at the same location (e.g., temp, cache, part) are not affected.
Actual Behavior:
Only the root-level folder named tmp is deleted on startup.
Other folder names are not affected.
Steps to reproduce
- Create a folder at the root of any system volume, e.g.:
H:\tmp - Place any files inside the folder (size does not matter; tested with >1TB).
- Start Spacedrive with default settings.
- Observe that:
H:\tmpis deleted automatically.- Other folders at the same level (e.g.,
H:\temp,H:\cache,H:\part) remain untouched.
Platform and versions
- OS: Windows 11 26200.8246
- Spacedrive: [v2.0.0-alpha.2]
Stack trace
Additional context
Additional Notes:
- The deletion does not appear in daemon logs.
- The issue occurs on multiple volumes.
- The issue does not occur for non-root folders (e.g.,
H:\Downloads\tmp). - The issue is reproducible on a clean installation with default configuration.
Code of Conduct
- I agree to follow the Code of Conduct.
Source: spacedriveapp/spacedrive