-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ps3netsrv write permissions are bad #48
Comments
Reports from Twitter suggest the "permission fix" tool works, but I still want to bring this up with the devs to try and fix it at the source. |
a systemd path unit could potentially monitor the required path for changes and handle this transparently for the user in the meantime |
Ran into an issue where due to limitations with recursion support in systemd.path files they will not be suitable for the GAMES folder, I have backed out the perm monitor instances and just cleaned up the yaml |
What is our way forward here? close this off with an upstream ticket and/or implement a workaround? We can dump in a cronjob or systemd timer to just apply perms continuously to the ps3netsrv folders which is kinda crappy but seems necessary for ease of use, systemd timers are more flexible in their intervals than cron iirc |
I'll submit a ticket with ps3netsrv upstream. I need to re-dump another ISO to check the settings again and report as I've completely forgotten what they were. |
I have made a couple of ISO with my own Ps3 games they rip ok to PS3 folder on Retronas Folders but can't seem to play the games |
Have you run the "fix permissions" tool in the "Global configuration" section? |
Yes I have makes no difference still comes up with same issue |
can you provide the output of |
Where do I search for those on my Retronas |
|
root@retronas:~# ls -la /data/retronas/ps3/ps3netsrv/PS3ISO/ |
Thanks that is the kind of output we were after although we need to see the permissions on some dumped files to see if/what the problem you are experiencing might be, please dump one of your games and show us the same output with a dumped game in the folder output |
Last ISO Rip Thats Info I got right clicked Fifa 13 ISO in PS3 Folder in Retronas root@retronas:~# ls -la /data/retronas/ps3/ps3netsrv/PS3ISO/ |
Latest Rip still not able to boot from my PS3 root@raspberrypi:~# ls -la /data/retronas/ps3/ps3netsrv/PS3ISO/ |
thanks that is exactly the info we needed to look into this further |
I have committed a workaround for RetroNAS, this problem needs to be taken up with the upstream ps3netsrv project to get fixed properly Please reinstall ps3netsrv from the menu and try another rip, we now have a process that should fix the permissions to make the files readable that runs approximately every 30s |
Cool will give it a shot in the Morning and keep ya posted |
Still not working re loaded PS3 on retronas and fix permissions before doing another ISO Rip |
Can you obtain the same information again so we can ensure the permissions were changed properly on your install |
root@retronas:~# ls -la /data/retronas/ps3/ps3netsrv/PS3ISO/ |
yes ok, that is certainly not the expected results. Please do a Unfortunately I don't have a functional ps3 to test here, I did however make some fake files in the appropriate folders when testing with bad perms and they were reset OK during testing. |
root@retronas:~# systemctl status ps3netsrv-perms.service |
OK thanks, i'll need the below commands run in sequence with the output show the active timers on your system before service start lets try this to see if it can at least repair the perms as intended show the active timers after service start and then check the permissions on the files again |
|
I needed the output of all 3 commands to understand whats going on, not just the first (i assume) |
|
|
So the service didn't start as expected to kick the timer into gear, now if you look at the You can check the files again to confirm permissions have changed and you can run a It's curious, I did a fresh install here and it started the timer fine, I can make a change in the code to force the perms service to be started at least once anyway. |
Well Today I uninstalled and reinstalled Hen and stiil have the same issue from 6 days ago so I might have to give PS3 games a miss on RetroNAS for the moment Its doing my head in trying to work out where the issue lies |
I have just purchased a ps3, providing it can be modded and remains working (I have 3 dead ones), I can get this setup and I'll be able to test further. |
They can all be modded now. If its a fat model it can be modded and not have to run HEN. Most of the Slims also can be modded without HEN but all the Super Slims need it. If anyone needs one I have a fat model that is running the current CFW, I am willing to donate it if someone will cover the shipping costs but the BD-Drive is dead. |
i've modded this ps3 now and ripped a disc to iso with the permissions fix in place, Webman was able to mount the iso and run fine and the permissions were as expected I have problems with HEN/multiman but from what i've read this is not uncommon I'm going to close this issue off since we've worked around it the best we can with these weird write permissions but i've opened a discussion thread here |
ps3netsrv's default write permissions appear strange. It writes a file with no read access and a sticky bit permission (when you rip a PS3 game from disc to ISO via tools like Multi-MAN).
The initial write is fine if it completes successfully, but then can't read back.
I've put in a chown/chmod command in "Global configuration" (changed it just today to include sticky-bit removal), however that's kind of annoying to have to remember to do every time the user rips a game.
ps3netsrv itself runs as the RetroNAS user via the systemd startup service, so I'm not sure if running as root changes anything.
I'll need to check upstream with the ps3netsrv developers too I think.
I'll try to do another rip later in the week and record the exact permissions that land on-disk.
The text was updated successfully, but these errors were encountered: