Need to reset permisions all the time
-
Almost everytime I reboot I lost permision to change the video mode in that option when you click any button while opening a game.
I have to type the command "sudo chown -R pi:pi /opt/retropie/configs"
It is a common issue or have a solution?
Running on Rasp 3, lastest firmware (but I have this kind of problem in older versions too).
Thks.
-
@Spectreman said in Need to reset permisions all the time:
It is a common issue or have a solution?
It's not a common issue. Do you have any onstart/onend scripts configured for
runcommand
? Any other program/script that you installed and runs on boot ?Please add some more details about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
-
No script. Just installed optional cores and the scraper. Running on Pi3 B, Retropie 4.6 running on Raspian GNU/Linux 9.11 (stretch).
-
Out of the box RetroPie doesn't change / reset the permissions on the
/opt/retropie/configs
folder - maybe there's something else ?
Can you reboot, then exit EmulationStaton and list the permissions on the/opt/retropie/configs/all/videomodes.cfg
by runningls -l /opt/retropie/configs/all/videomodes.cfg ls -ld /opt/retropie/configs/all/
-
-
@Spectreman The files' permissions look ok, but the folder permission no. Normally
chown
should change the permissions on the folder to thepi
user (they show asroot
now).I don't know why the permissions are reset, there's nothing in RetroPie that resets those permissions. You can try resetting them again with
chown -R pi:pi /opt/retropie/configs
and check again the permissions, after you've run the command and then right after a restart.
-
There was a bug in the Bluetooth background connect mode that broke directory permissions in a similar way. It's fixed a while ago but maybe you have that enabled and haven't updated RetroPie-Setup. It shouldn't be enabled anyway in most cases. It was a workaround for an issue in older Raspbian.
-
Yes. It was that. Changed back the bluetooth connect mode to default and is solved. It was in background mode because my SNES30 joystick was temperamental about connecting with Retropie.
I did an update from the the old Retropie version rather than a new install. And maybe because that the bug still present.
Thanks a lot.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.