junkstore icon indicating copy to clipboard operation
junkstore copied to clipboard

Permissions Error when trying to save to SD card

Open mrsjunkrunner opened this issue 1 year ago • 2 comments

Describe the bug I'm having a problem installing games giving me the following error: "PermissionError: [Errno 13] Permission denied: '/run/media/mmcblk0p1'. I'm guessing it's related to micro sd but dunno how to configure that specifically. Thanks in advance!

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Path is not what is expected for SD save name/location.

Screenshots SD Card Error

Desktop (please complete the following information):

  • OS: [e.g. Arch, Bazzite]
  • Version [e.g. 0.8]

Handheld device (please complete the following information):

  • Device: [e.g. Steam Deck, Gpd Win Max2, Legion Go]
  • OS: [e.g. SteamOS, Arch, Bazzite]
  • Version [e.g. 0.8]

Additional context They have had a space or other character in the SD name.

mrsjunkrunner avatar May 05 '24 21:05 mrsjunkrunner

Able to download and save games, however now getting this eror: permissions error 3

game will save to SD, but error comes up when trying to save to micro SD - plenty of room. downloaded flatseal gave full permissions, but no luck.

mrsjunkrunner avatar May 05 '24 21:05 mrsjunkrunner

duplicate of #34

mrsjunkrunner avatar Jun 04 '24 04:06 mrsjunkrunner

I found a way around this.

  1. In settings, switch the type from list to string.
  2. Set the string to this: /run/media/<yourusername>/MicroSD
  3. Press X to save.

This is what I used, and I can now install games from Epic.

crunchysoft avatar Mar 11 '25 18:03 crunchysoft

Potentially fixed with this commit f8bf74a0277897e87587b991082aef3295cd00b3

Waiting on PR merge with Decky Testing store.

@crunchysoft hey we have just put in a potential fix for this issue. Would you mind letting us know if it is working or if it breaks?

With the update your code will be overwritten and it will either solve your original issue and keep working.

Or it will overwrite your change and you'll have to do your fix again.

We would really appreciate any feedback on this either way so we can keep trying to fix it.

mrsjunkrunner avatar Mar 16 '25 03:03 mrsjunkrunner

I just installed the latest version (1.9.1-3c43c27). As you said, my path was cleared, so I selected MicroSD from the dropdown. I was able to successfully install a game from Epic and GoG.

crunchysoft avatar Mar 16 '25 18:03 crunchysoft

This issue also appears to be resolved with the latest version 1.1.9

Will reopen if needed

mrsjunkrunner avatar Apr 10 '25 20:04 mrsjunkrunner

I can confirm the game installs are ignoring the MicroSD selection and instead installing to SSD.

crunchysoft avatar Apr 14 '25 16:04 crunchysoft

I can confirm the game installs are ignoring the MicroSD selection and instead installing to SSD.

Before reopening this issue or creating a new one...

When changing your install location from SSD to microSD did you push X to save that change?

If it is not saving this change then it is a new issue.

Could you please check k that changing the install location is not being saved?

Change it to microSD in the Epic tab and make sure you push x to save.

Then back out to the library screen. Then go back and check if it saved or not. If it didn't can you open a new issue.

mrsjunkrunner avatar Apr 14 '25 19:04 mrsjunkrunner

This issue can be resolved by creating a symbolic link in /run/media/: ln -s /run/media/yourusername/SDCARD /run/media/mmcblk0p1 Replace /run/media/yourusername/SDCARD with the actual mount point of your SD card.

[ source: https://www.reddit.com/r/JunkStore/comments/1etei5w/help/ ]

llbranco avatar May 16 '25 01:05 llbranco