First, off I don’t know if this is the correct place nor do I know this is a problem with either containers, Fedora Silverblue or Steam.
I am on Fedora Silverblue and I have Steam installed via flatpak. I have been trying to attach my drives under the setting “Storage” in Steam. When I click on “Add drive”, the file explorer pops up, naturally. But, I get the error message in the new window “The contents of the folder couldn’t be shown. The process is not supported”. I translated the error I got into English.This problem was also reported on Github: “Unable to drives in settings” Then I go to my second drive and choose the location of the Steam folder. And nothing happens. The settings window doesn’t show the attached drive nor the installed games.
No matter what I tried, it fails.
- Used the command in terminal flatpak override --user --filesystem=/run/media/username/drive_name com.valvesoftware.Steam I noticed after executing this command, Flatseal added the path for access. However, I still couldn’t add my drive under “Storage” in Steam.
- Tried it with Flatseal. It didn’t work either. See setting here in the screenshot: Link to screenshot
- Trying to do this in toolbox will get the same issues and the same error output (see below).
- Changed the directory to /run/media/<my_user> then later to /var/mnt (I created the /mnt folder) - it didn’t work, either
- Updated all flatpak packages - as of right now no update available yet for Steam
While Steam is running through the terminal and when I go to settings > “Storage” > add drives, I get this output in the terminal:
output
`Couldn’t write /usr/.steam_exec_test.sh: Read-only file system
Couldn’t write /app/.steam_exec_test.sh: Read-only file system
Couldn’t write /app/lib/ffmpeg/.steam_exec_test.sh: Read-only file system
Couldn’t write /app/lib/i386-linux-gnu/.steam_exec_test.sh: Read-only file system
Couldn’t write /app/lib/i386-linux-gnu/GL/default/.steam_exec_test.sh: Read-only file system
Couldn’t write /app/lib/i386-linux-gnu/GL/default/.steam_exec_test.sh: Read-only file system
Couldn’t write /app/lib32/ffmpeg/.steam_exec_test.sh: Read-only file system
Couldn’t write /usr/lib/x86_64-linux-gnu/GL/default/.steam_exec_test.sh: Read-only file system
Couldn’t write /usr/lib/x86_64-linux-gnu/GL/default/.steam_exec_test.sh: Read-only file system
Couldn’t write /usr/lib/x86_64-linux-gnu/openh264/.steam_exec_test.sh: Read-only file system
Couldn’t write /usr/share/runtime/locale/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/machine-id/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/e2scrub.conf/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/issue/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/issue.net/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/ld.so.conf/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/mke2fs.conf/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/moduli/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/nsswitch.conf/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/protocols/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/rc_maps.cfg/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/rpc/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/services/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/ssh_config/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/vdpau_wrapper.cfg/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/xattr.conf/.steam_exec_test.sh: Not a directory
Couldn’t write /etc/alsa/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/debuginfod/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/fonts/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/gtk-3.0/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/pki/.steam_exec_test.sh:Read-only file system
Couldn’t write /etc/profile.d/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/pulse/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/rc_keymaps/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/security/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/ssl/.steam_exec_test.sh: Read-only file system
Couldn’t write /etc/xdg/.steam_exec_test.sh: Read-only file system
Couldn’t write /usr/share/zoneinfo/.steam_exec_test.sh: Read-only file system
Couldn’t write /run/media/user/drivename/.steam_exec_test.sh: Read-only file system
Couldn’t write /run/host/usr/.steam_exec_test.sh: Read-only file system
Couldn’t write /run/host/var/usrlocal/.steam_exec_test.sh: Permission denied
Couldn’t write /run/host/etc/ld.so.cache/.steam_exec_test.sh: Not a directory
Couldn’t write /run/host/etc/alternatives/.steam_exec_test.sh: Permission denied
Couldn’t write /run/host/os-release/.steam_exec_test.sh: Not a directory
Couldn’t write /run/host/fonts/.steam_exec_test.sh: Read-only file system
Couldn’t write /run/host/fonts-cache/.steam_exec_test.sh: Read-only file system`
Basically, it says the path (where the drives are) are read-only.
Many people have games installed on other drives and considering many people have terrible internet like me I am not willing to download a single ~40GB game for 8 hours to the local drive.
Ok, what about installing and using Steam with rpm-ostree? I get the same results like before. What about adding the drives directly via fstab into the /var/mnt/ directory and then give Steam the rights to access those paths? I did, I get the same issues. Or what about running Steam with sudo? I get the error message “Cannot run as root user”.
I also checked if the user owns Steam. I get this output:
output
my_user@fedora:~$ ls -l ~/.var/app/com.valvesoftware.Steam
total 12
drwxr-xr-x. 1 my_user my_user 0 29. Okt 20:05 Bilder
lrwxrwxrwx. 1 my_user my_user 6 29. Okt 20:05 cache -> .cache
lrwxrwxrwx. 1 my_user my_user 7 29. Okt 20:05 config -> .config
lrwxrwxrwx. 1 my_user my_user 12 29. Okt 20:05 data -> .local/share
drwxr-xr-x. 1 my_user my_user 0 29. Okt 20:05 Musik
I ran
flatpak run --command=sh com.valvesoftware.Steam
I can get into the shell.
What can I do now? I am clueless. I have been looking around on the internet and I don’t find anything. I would like to solve this. Or if not, then I simply go back to Fedora Workstation. Help would be appreciated. Thank you.