[solved] Can't add a new steam library from a mounted sdd

Hello. I have spent several hours now trying to resolve this issue. When I try to add my second drive as a Steam game library, I select the mount and nothing happens.... I tried to move the location of the mount point to various places without success. I gave read and write access to everyone without any changes. (drwxrwxrwt. 1 Etocsi Etocsi 50 23 May 18:41 games) Lutris has no problem using this disc. The fstab entrie : UUID=7863a92e-5952-4410-986d-80eeaccef17f /var/mnt/games/ btrfs lazytime,commit=120,compress-force=zstd:3,space_cache=v2,nofail,noatime,users,rw,exec 0 0 All drives are formated as btrfs I use the default steam install. If someone figure out what is going on.
No description
27 Replies
wolfyreload
wolfyreloadβ€’8mo ago
if you open steam via terminal, when you try and select that folder do you get an error? Also have you tried to make a folder called e.g. steam-library in /var/mnt/games and point steam to that?
Etocsi
EtocsiOPβ€’8mo ago
I'll try this. When i chose the /games/ folder it says : steam library folder is not empty. So I create a new folder and point to it : steam creates the "steamapps" folder in it but still don't want to use it. It says : steam library folder is not executable.
Etocsi
EtocsiOPβ€’8mo ago
No description
Etocsi
EtocsiOPβ€’8mo ago
I might be wrong but it seems ok to me. the error in the terminal : sh: ligne 1: /var/mnt/games/steam-library/.steam_exec_test.sh: Permission denied Failed system("/var/mnt/games/steam-library/.steam_exec_test.sh") in execute test: 32256
wolfyreload
wolfyreloadβ€’8mo ago
please run ll -l /var/mnt/ I just want to check permissions at your mount point
Etocsi
EtocsiOPβ€’8mo ago
$ ll -l /var/mnt/ total 16 drwxrwxrwt. 1 etocsi etocsi 76 23 mai 20:54 games
wolfyreload
wolfyreloadβ€’8mo ago
try a sudo chown -R $USER:$USER /var/mnt/games/steam-library also, you aren't running the flatpak version of steam but the normal bazzite one?
Etocsi
EtocsiOPβ€’8mo ago
I gues, it s the default install .
wolfyreload
wolfyreloadβ€’8mo ago
Also if you did make any changes to /etc/fstab you have rebooted?
Etocsi
EtocsiOPβ€’8mo ago
yes, every time i did a change πŸ™‚ The chown didn't solved it ;'(
wolfyreload
wolfyreloadβ€’8mo ago
thought there might be a file inside that needed a change in ownership
Etocsi
EtocsiOPβ€’8mo ago
me too, but the folders are empty.
wolfyreload
wolfyreloadβ€’8mo ago
try this chmod +x /var/mnt/games/steam-library
Etocsi
EtocsiOPβ€’8mo ago
nope, still the same error message. :/
wolfyreload
wolfyreloadβ€’8mo ago
hmmmm. I'm out of ideas. Sorry 😦
Etocsi
EtocsiOPβ€’8mo ago
i tired to install games in the default folder (on the same disk) it work perfectly. I copied the steam app from this location to the 2nd drive, just in case, but, no, it didn't solved the issue. Don't be sorry, we tried new things and we made progress in diagnosing it. We still don't know whats the issue, but we know what doesn't solve it. πŸ™‚
wolfyreload
wolfyreloadβ€’8mo ago
I want to check something in steam, please run ps -ef | grep steam.sh
Etocsi
EtocsiOPβ€’8mo ago
etocsi 32018 32007 0 21:24 ? 00:00:00 bash /var/home/etocsi/.local/share/Steam/steam.sh
wolfyreload
wolfyreloadβ€’8mo ago
yup definitely using the right version of steam.
Etocsi
EtocsiOPβ€’8mo ago
Damn, I wish I wasn't, so the issue could have been solved πŸ™‚
wolfyreload
wolfyreloadβ€’8mo ago
Lets check if the settings look right for the unmounted file/folder
sudo umount /var/mnt/games
ll -l /var/mnt/
sudo umount /var/mnt/games
ll -l /var/mnt/
Check if the permission are different for the games folder when unmounted. If it's different try sudo chown $USER:$USER /var/mnt/games Then remount the drive with sudo mount /var/mnt/games
Etocsi
EtocsiOPβ€’8mo ago
the permissions were identical, but... now it works... Ok, i don t get why it's working, but... it's working! so thanks alot for your help !
wolfyreload
wolfyreloadβ€’8mo ago
Lol I'd prefer to know why it works. But anyway πŸ€·β€β™‚οΈ
Etocsi
EtocsiOPβ€’8mo ago
Same. But at least we have a workaround in case someone else has the same issue... (try try and try again until it works xd )
wolfyreload
wolfyreloadβ€’8mo ago
Maybe the stuff that we tried only applied after unmounting and remounting
Etocsi
EtocsiOPβ€’8mo ago
Maybe. But, I don't want to cancel and try again now. πŸ˜„ Maybe later, when I'm more comfortable with Linux (it's my 1st distribution, and I have about 3 days of experience) (I restarted the computer, just in case, and it still works πŸ˜‰ )
wolfyreload
wolfyreloadβ€’8mo ago
Lets hope it stays that way πŸ™‚
Want results from more Discord servers?
Add your server