Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › no writing permission for retroarch.cfg
Tagged: permission, rights, unix
- This topic has 12 replies, 7 voices, and was last updated 10 years, 4 months ago by mccarthy.
-
AuthorPosts
-
07/04/2014 at 22:23 #12109ThomasGuest
es 2.2
i want so save my changes in retroarch / pocketsnes…
couldnt do it! i dont can save changes the retroarch.cfg in /opt/…
whats wrong?
i have no writing permission for /opt/ in WinSCP…
07/04/2014 at 22:48 #12111InsecureSpikeParticipantthe answers to your question is in the previous topic before this one, mate
Sent from my iPhone using Tapatalk
07/04/2014 at 22:48 #12112tafazzi87Participantfrom terminal you’ve to use sudo command
07/04/2014 at 22:52 #12115smatticusParticipantIn ES Hit f4 to exit to command prompt. Use the command
sudo passwd
and choose a password. Then when you go to connect via winscp, enter root as the username and your new password as the password07/04/2014 at 22:53 #12116ThomasGuestno
i want to save from retroarch…
start the game… open the config menu… do my changes and so i want to save…
“cant save to …”
i cant copy or change files in /opt/
07/04/2014 at 22:56 #12117ThomasGuestThen when you go to connect via winscp, enter root as the username and your new password as the password
worked for winscp, but not in the emulator..
07/04/2014 at 23:22 #12125InsecureSpikeParticipantlook here…
and here…
both the same, both will help with what your asking
07/05/2014 at 10:56 #12200ThomasGuesti want to do my changes in the retroarch menu of the running rom…
but if i activate save on exit —>> nothing
and if i want to save to a new config, it shows ” cant save to /opt/
how can i get always root rights in the running retropie
if I use the retroarch menu to edit settings within a rom and I go to “save new retroarch” or whatever it says, I get the error “cannot save to retropie/configs/a…”
07/05/2014 at 11:15 #12205jakko36ParticipantSame happend to me with Mame4all-pi, i did not have permission to save the config to opt/retropie…… etc etc.
What i found was to do this in terminal: sudo chmod 777 (the map you need permission for) then go back mame4all-pi and you can map your buttons and save the config.
The same thing works with retroarch.
you will need root acces to cfg the most emulators.07/05/2014 at 13:38 #12219nemo93ParticipantHi Guys,
I was a bit reluctant to propose this workaround as I haven’t tested it thoroughly but given the increasing number of posts about it here we go!
Launch a command line and issue the following command:
$ sudo chown -R pi:pi /opt/retropie/
You should end up with:
$ ls -la /opt/retropie/ total 24 drwxr-xr-x 6 pi pi 4096 Jul 1 22:40 . drwxr-xr-x 5 root root 4096 Jul 1 21:34 .. drwxr-xr-x 17 pi pi 4096 Jul 1 21:47 configs drwxr-xr-x 13 pi pi 4096 Jul 1 21:42 emulatorcores drwxr-xr-x 24 pi pi 4096 Jul 1 22:30 emulators drwxr-xr-x 5 pi pi 4096 Jul 1 22:31 supplementary
Let me know if this does improve your situation.
cheers,07/05/2014 at 16:35 #12265zSprawlGuestMay want to only do the configs subfolder?
This is certainly better than using the root user though imho.
07/05/2014 at 21:13 #12309ribenickelParticipantAs a windows user and linux starter i like to change my retroarch files inside a gui. To do that i type “sudo su” in shell to get root acces and afterwards “startx” to enter rasbian gui then i can open the file via leaf and save changes. After I’m done i just reboot to loose root acess again…
08/11/2014 at 20:49 #30867mccarthyParticipantHi guys,
I have a big problem. The ps3 controller doesn’t work for me, too, but there is no “minimal.CPP”. The whole src-folder isn’t there.
Thanks for help.
Cheers -
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.