/run/user/1000 install directory ?

gonna try asking a question here, though this might not be the right spot. noob linux user. fedora 38 prettty vanilla install. i've had what appears to be a similar problem with lutris, and heroic when using the epic game store. when i select a directory that is on my second HDD (btrfs) (/data/heroic/) to install a game from the store, once i choose the directory, it filles in the dialog with a directory that is in /run/user/1000.... . i thought it weird, but the game installed and ran. recently i ran some updates and rebooted, and then heroic was saying my game wasnt installed. and the directory previsouly configured was now empty, picking again through UI (/data/heroic) got me a different "/run/user....". i did some searching, and the internet is telling me this is some kind of mechanism normally meant to give an individual user transient "temp space" i guess, so it makes some sense to me now that it got emptied when i rebooted. since then, i did the install picker again, and "hand typed" the directory path in the chooser field. this seems to be working. my question is, why is the chooser filling in the path selected as one of the "/run/user...." variants, when that is NOT what i'm picking through the chooser ? running on 'flatpak' version btw. any thoughts ? (20:22:06) INFO: [Backend]: Heroic: Setting defaultInstallPath to "/run/user/1000/doc/fb807606/heroic" (previous value: "/run/user/1000/doc/a4841af5/heroic") (20:22:24) INFO: [Backend]: Heroic: Setting defaultInstallPath to "/data/heroic" (previous value: "/run/user/1000/doc/fb807606/heroic") that is some info in the log, showing me (re)setting the install directory through heroic.
8 Replies
extended-salmon
extended-salmon2y ago
you are using the flatpak version right? if you are this is because you haven't given the flatpak version access to those directories you can give permission to those directories through flatseal for example
ambitious-aqua
ambitious-aquaOP2y ago
ok. i'll look at that. just want to mention it did install and play, it's just that, it was picking up those weird directory paths from the chooser when installing. and like i said, when i just typed the path into heroic by hand, it also works fine. it's just a really weird behavior.
harsh-harlequin
harsh-harlequin2y ago
that's what happens when you go beyond the permissible folders with a Flatpak
ambitious-aqua
ambitious-aquaOP2y ago
holy smokes. i just connected the dots with this help. like i said, i'm a noob, and little experience so far with flatpak apps, other than knowing its a thing, and the apps are "contained". didn't know about flatseal, the app. have now installed it ... and it has opened my eyes. i think it might explain why when i tried to use bottles for epic game store, that wasn't working right either. thanks !
harsh-harlequin
harsh-harlequin2y ago
I generally advise newbies to not go outside of the permissible areas and to not create folders in the root, such as you have done with /data/
ambitious-aqua
ambitious-aquaOP2y ago
ill take that into consideration. thanks. /data in my case is the mountpoint for my second HDD, where i install my games. my steam library is on the same disk.
harsh-harlequin
harsh-harlequin2y ago
I stand by my statement. Linux mounts drives to either /mnt or /run/media. Deviating from this and creating new folders in root is not advised.
ambitious-aqua
ambitious-aquaOP2y ago
so if i mounted my second hdd under /run/media, that is preferred. i see that directory is a default for the heroic launcher ... but not for bottles apparently ... i'll try to read up more on these standards. ive moved things around, and reconfigured steam and heroic for the new directories. thanks for the help and the advice.

Did you find this page helpful?