Steam cannot access external ssd

Hello there dear community,

I recently got back into gaming, but since my device does not have enough storage on its own I connected an external ssd. I downloaded some games from steam into it and later on after one reboot steam now cannot start the games because of the error below.

Proton: Upgrading prefix from None to 8.0-104 (/run/media/ae/SD_M/SteamLibrary/steamapps/compatdata/1286830/)
Traceback (most recent call last):
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1766, in <module>
    g_session.init_session(sys.argv[1] != "runinprefix")
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1550, in init_session
    g_compatdata.setup_prefix()
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 792, in setup_prefix
    self.migrate_user_paths()
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 770, in migrate_user_paths
    os.symlink(src=link, dst=old)
PermissionError: [Errno 1] Operation not permitted: '../AppData/Local' -> '/run/media/ae/SD_M/SteamLibrary/steamapps/compatdata/1286830/pfx/drive_c/users/steamuser/Local Settings/Application Data'
Fossilize INFO: Setting autogroup scheduling.
Fossilize INFO: Setting autogroup scheduling.
/bin/sh\0-c\0/home/ae/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1286830 -- /home/ae/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/ae/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/run/media/ae/SD_M/SteamLibrary/steamapps/common/Star Wars - The Old Republic/launcher.exe'\0
chdir "/run/media/ae/SD_M/SteamLibrary/steamapps/common/Star Wars - The Old Republic"
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Proton: Upgrading prefix from None to 8.0-104 (/run/media/ae/SD_M/SteamLibrary/steamapps/compatdata/1286830/)
Traceback (most recent call last):
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1766, in <module>
    g_session.init_session(sys.argv[1] != "runinprefix")
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1550, in init_session
    g_compatdata.setup_prefix()
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 792, in setup_prefix
    self.migrate_user_paths()
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 770, in migrate_user_paths
    os.symlink(src=link, dst=old)
PermissionError: [Errno 1] Operation not permitted: '../AppData/Local' -> '/run/media/ae/SD_M/SteamLibrary/steamapps/compatdata/1286830/pfx/drive_c/users/steamuser/Local Settings/Application Data'
Uploaded AppInterfaceStats to Steam
Fossilize INFO: Setting autogroup scheduling.

note: i got rid of the preinstalled steam since that was bugging me and installed steam (native)
Please let me know if i created an offense with this post, this is my first one.
Thanks for your help.

Looks like there is a permission mismatch after you have rebooted. You should see if they don’t seem to be in the same user or group.

# the permissions of your external ssd
# it should already owned by your user if you mounted through your tray/file manager
ls -la /run/media/ae/

# what user/group is steam running on?
ps -eo pid,user,group,command | grep -i steam
-la /run/media/ae/                                                                                                                                                                                                
total 128
drwxr-x---+ 3 root root     60 14. Jan 01:10 .
drwxr-xr-x  3 root root     60 14. Jan 01:10 ..
drwxr-xr-x  7 ae   ae   131072 14. Jan 01:10 SD_M

and

ps -eo pid,user,group,command | grep -i steam                                                                                                                                                                                ✔ 
   2607 ae       ae       bash /home/ae/.local/share/Steam/steam.sh
   2731 ae       ae       /home/ae/.local/share/Steam/ubuntu12_32/steam
   2749 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --disable-seccomp-filter-sandbox -lang=en_US -cachedir=/home/ae/.local/share/Steam/config/htmlcache -steampid=2731 -buildid=1705108172 -steamid=0 -logdir=/home/ae/.local/share/Steam/logs -uimode=7 -startcount=0 -steamuniverse=Public -realm=Global -clientui=/home/ae/.local/share/Steam/clientui -steampath=/home/ae/.local/share/Steam/ubuntu12_32/steam -launcher=0 -no-restart-on-ui-mode-change --enable-media-stream --enable-smooth-scrolling --password-store=basic --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging
   2776 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --type=zygote --no-zygote-sandbox --disable-seccomp-filter-sandbox --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1705108172 --steamid=0
   2777 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --type=zygote --disable-seccomp-filter-sandbox --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1705108172 --steamid=0
   2779 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --type=zygote --disable-seccomp-filter-sandbox --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1705108172 --steamid=0
   2791 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --type=gpu-process --field-trial-handle=9442344895871649914,2439154602307719776,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --disable-seccomp-filter-sandbox --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1705108172 --steamid=0 --gpu-preferences=MAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAQAAAAAAAAAAAAAAAAAAAACAAAAAAAAAA= --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --shared-files
   2813 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=9442344895871649914,2439154602307719776,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --lang=en-US --service-sandbox-type=network --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1705108172 --steamid=0 --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --shared-files=v8_snapshot_data:100
   2844 ae       ae       steam-runtime-launcher-service --alongside-steam
   2892 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --disable-seccomp-filter-sandbox --force-device-scale-factor=1.00 --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --field-trial-handle=9442344895871649914,2439154602307719776,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=en-US --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --force-device-scale-factor=1.00 --buildid=1705108172 --steamid=0 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --shared-files=v8_snapshot_data:100
   3010 ae       ae       /home/ae/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --disable-seccomp-filter-sandbox --force-device-scale-factor=1.00 --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --field-trial-handle=9442344895871649914,2439154602307719776,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=en-US --log-file=/home/ae/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --force-device-scale-factor=1.00 --buildid=1705108172 --steamid=0 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --shared-files=v8_snapshot_data:100
   9284 ae       ae       /home/ae/.local/share/Steam/ubuntu12_32/../ubuntu12_64/fossilize_replay /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steam_pipeline_cache.foz --master-process --quiet-slave --shmem-fd 77 --control-fd 123 --spirv-val --num-threads 2 --on-disk-validation-whitelist /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steamapprun_pipeline_cache.904f69d2b1b44b65/steam_pipeline_cache_whitelist --replayer-cache /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steamapprun_pipeline_cache.904f69d2b1b44b65/replay_cache --device-index 0 --timeout-seconds 10
  11952 ae       ae       /home/ae/.local/share/Steam/ubuntu12_32/../ubuntu12_64/fossilize_replay /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steam_pipeline_cache.foz --master-process --quiet-slave --shmem-fd 77 --control-fd 123 --spirv-val --num-threads 2 --on-disk-validation-whitelist /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steamapprun_pipeline_cache.904f69d2b1b44b65/steam_pipeline_cache_whitelist --replayer-cache /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steamapprun_pipeline_cache.904f69d2b1b44b65/replay_cache --device-index 0 --timeout-seconds 10
  11958 ae       ae       /home/ae/.local/share/Steam/ubuntu12_32/../ubuntu12_64/fossilize_replay /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steam_pipeline_cache.foz --master-process --quiet-slave --shmem-fd 77 --control-fd 123 --spirv-val --num-threads 2 --on-disk-validation-whitelist /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steamapprun_pipeline_cache.904f69d2b1b44b65/steam_pipeline_cache_whitelist --replayer-cache /run/media/ae/SD_M/SteamLibrary/steamapps/shadercache/1286830/fozpipelinesv6/steamapprun_pipeline_cache.904f69d2b1b44b65/replay_cache --device-index 0 --timeout-seconds 10
  11965 ae       ae       grep -i steam

P.S. the external device is named SD_M

Permission of SD_M itself looks fine but you should look through the permissions of the Steam library in there. You can see paths in the error, check if those are not owned by your user.

you mean

chdir "/run/media/ae/SD_M/SteamLibrary/steamapps/common/Star

?
i looked and i have the ownership. same with:

File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1766, in <module>
    g_session.init_session(sys.argv[1] != "runinprefix")
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 1550, in init_session
    g_compatdata.setup_prefix()
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 792, in setup_prefix
    self.migrate_user_paths()
  File "/home/ae/.local/share/Steam/steamapps/common/Proton - Experimental/proton", line 770, in migrate_user_paths
    os.symlink(src=link, dst=old)

and

ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ae/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

could it be that the ssd is formatted wrong? it is extfat

outch :see_no_evil: That kind of problems happen with proton when using a non-native file system like fat32, exfat or ntfs. Just saying. Use ext4, btrfs or xfs.

The simple reason is the fake ACL overlay, which is set on mount time.

2 Likes

i see, so my foreshadowing was right, thx.

now steam does not find the ssd

Nice info, go ahead. You can do that :slight_smile: I believe in you.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.