LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Flatpak 'UnGoogled Chromium' saves files to /run/user/1000/doc/, instead of desired location (https://www.linuxquestions.org/questions/linux-software-2/flatpak-ungoogled-chromium-saves-files-to-run-user-1000-doc-instead-of-desired-location-4175722176/)

santum53 02-18-2023 03:48 PM

Flatpak 'UnGoogled Chromium' saves files to /run/user/1000/doc/, instead of desired location
 
Operating system is Ubuntu 22.04.

I executed the command 'flatpak list' in terminal, and confirmed the application is associated with it.

I tried to save the file in a veracrypt partition and an unencrypted/standard ext4 partition, and the program proceeds to save it /run/user/1000/doc/<8-digit generated hexadecimal numbered folder>

I also installed the metadata/image tagging app for MP3/MP4 files, ex-falso, through flatpak, and its able to edit and save files just fine in the veracrypt partitions.

BillDietrich 02-19-2023 04:01 AM

Probably a permission problem you need to fix in Flatseal. Try adding /mnt or /media filesystem permission, or something that includes your desired destination.

/run/... is just the default directory, I think. It's dangerous that saving to there fails silently.

boughtonp 02-19-2023 02:33 PM

Quote:

Originally Posted by BillDietrich (Post 6412280)
/run/... is just the default directory, I think. It's dangerous that saving to there fails silently.

/run/user/$UID is the default location of $XDG_RUNTIME_DIR, which is a temporary directory that gets cleared when logging out - so it's dangerous in the sense that downloads will get deleted if they are not moved out of that location.


BillDietrich 02-19-2023 02:36 PM

I think files I save in the default /run/... directory don't even appear there the next time I go to save another file. I think I tried saving the same file twice in a row, and that dir was always empty. Maybe something else was going on, maybe I didn't check the path or file extensions carefully enough.

santum53 02-20-2023 09:34 AM

Quote:

Originally Posted by BillDietrich (Post 6412280)
Probably a permission problem you need to fix in Flatseal. Try adding /mnt or /media filesystem permission, or something that includes your desired destination.

/run/... is just the default directory, I think. It's dangerous that saving to there fails silently.


Installing Flatseal then selecting 'All system files' under Filesystem, solved the problem. Thank you very much.


All times are GMT -5. The time now is 09:04 AM.