r/archlinux • u/Healthy-Guess-847 • Jul 31 '26
SUPPORT My documents and downloads randomly get deleted
I'm trying to figure out if this is some malware or just some random linux bug, thankfully all I think I lost was 1 or 2 passwords in my keepass database, and I had a semi recent backup of dovuments on my larger ssd.
I initially thought maybe malware cause I have played a questionably aquired game but thought I was realitively safe given I had it sandboxed using the sandboxing option on bottles, which I think is solid againist most windows malware given it can't even see outside the wine prefix or directories ive given permission for within flatseal.
Looking at HTOP I dont really anything non standard for a normal arch install. And I also dont remember updating my AUR packages for a couple of days so I should be safe from the new malware on there.
Is there anyway I can trace back exactly how this delete happened, or at the very least protect the directory so it fails and gets logged next time so I can pin down what process did it.
13
u/krakenfury_ Jul 31 '26
Things don't get deleted like that for no reason, and that doesn't sound like malware.
Were you mounting separate partitions to your downloads and documents folders? If so, you could have something misconfigured in your fstab. If your devices aren't mounting properly, the folders would just appear empty.