What is this run/user/1000 nonsense? (It's Flatpak)

Calling it "nonsense" is me being polite.
I've started using Gapless as preferred audio player - it looks better and sounds better than Audacious, large album art etc.
My music collection is on a second drive - non-bootable data SSD.
When importing folder to music library, Gapless "copies" (but not really) entire 65+ GB of music to run/user/1000/doc/<app id number?>/

Problem: Gapless has only "move to trash" option for deleting - and apparently trash option is unavailable for me in that location (direct deletion only) although I am user 1000 and folder is named 1000.
I can't delete a file from player, I have to open that folder in Files and delete it (delete permanently is the only option).
Permissions for faux folder run/user/1000/doc/<app id number?>/MyMusicLibrary are already "create and delete files" - so no privilege to elevate.
How to fight this stup... nonsense?
NOTE: When MusicLibrary files are in home, Gapless moves them to trash normally.

Answer: it's a eFFin sandbox for Flatpaks and, possibly, Snaps:

Yes, it is a directory.
It contains a FUSE-backed filesystem for the Flatpak Documents portal. Files that have been exported into it from the host system are made available to Flatpak applications. This occurs when a Flatpak application uses the FileChooser portal, for instance.
The filesystem should not take up any significant amount of memory, and it isn't present on disk at all. Any files you might find in it (if there are any at all) are essentially proxies for the corresponding files on the outside filesystem. That is, the FUSE filesystem simply passes file operations on it through to the files that were actually exported; it doesn't store any file content itself.

It's an answer from Reddit question "What in the world is /run/user/1000/doc ?"
https://www.reddit.com/r/linuxquestions/comments/18c06ae/what_in_the_world_is_runuser1000doc/

In conclusion, Canonical decided to hijack my filesystem with their ¢rap, because God forbid that user can use Home or tmp folder.
Truly first thing after installing any Linux is to completely remove Flatpak and Snap.

Lost my entire music library. Switching back to Windows.

Care to elaborate?, in case it is just mislaid instead of lost.

2 Likes