Dingoonity.org

GCW Zero => Help => Topic started by: RetroVibe on June 16, 2021, 01:06:42 am

Title: Folder LOCKED after update
Post by: RetroVibe on June 16, 2021, 01:06:42 am
When I had last official OS, I copied my games to "/media/data/roms".
Now with new firmware, this folder is locked and read-only (tried with commander, mass storage and ethernet).

Is there a way of moving/delete it or all I can do is reflashing?  :'(
Title: Re: Folder LOCKED after update
Post by: overlord on August 31, 2021, 03:54:59 pm
It's likely due to the system thinking you're a different user and that those files were associated with the old user. If you can ssh into the system with putty or a similar program find the offending folder and run as root:

chmod -R 777 /your_folder_path

That will make the folder and all files within it have read,write,execute for root, all groups, and all users. I wouldn't do something like that on a PC running linux but should be pretty safe on a gaming handheld. Also, I'm not sure what username the newer firmware uses during normal operation, but if you found that out you could run as root:

chown -R the_username /your_folder_path

That would solve the problem with less of a "security issue". This simply changes the owner of all of the files to the username provided but doesn't change permissions.
Title: Re: Folder LOCKED after update
Post by: pcercuei on August 31, 2021, 11:50:36 pm
An alternative would be to run, in telnet or SSH:

sudo mv /media/data/roms /media/data/local/home/roms

Then re-run the update OPK of OpenDingux beta (or update to a new one). It will re-set ownership of all files within /media/data/local/home.