SonoranRadio โ Fix โConfig File Is Read-Onlyโ Error
Step 1: Open Your Game Panel
Log into the game panel where your FiveM server is hosted(e.g. ZAP-Hosting, txAdmin, Pterodactyl, Gamepanel, VPS).
Step 2: Locate the Config File
Navigate to:๐ช WINDOWS HOSTS
Step 1: Locate the file
Step 2: Open file properties
- Right-click
config.lua - Click Properties
Step 3: Allow Read & Write access
- Under the General tab:
- โ Uncheck Read-only
- Click Apply
- Click OK
If it keeps reverting to Read-Only
Apply the change to the entire folder:- Right-click the
sonoranradiofolder - Click Properties
- Uncheck Read-only
- Click Apply
- Select Apply changes to this folder, subfolders, and files
- Click OK
๐ง LINUX HOSTS
(ZAP-Hosting, Gamepanel, Pterodactyl, VPS)Step 1: Open your game panel or file manager
Log into the panel where your FiveM server is hosted.Step 2: Locate the config file
Step 3: Fix file permissions
Set the file permissions so the server can write to it:- Recommended:
766 - If that fails:
666
- Right-click
config.lua - Select Permissions
- Apply the change
Linux File Permissions โ Quick Reference
Each permission digit is the sum of:- 4 = Read (r)
- 2 = Write (w)
- 1 = Execute (x)
Common Permission Values
0= --- (No access)4= rโ (Read only)6= rw- (Read + Write)7= rwx (Read + Write + Execute)
Permission Structure
766โ Owner has full access, group/others can read & write666โ Read & write for everyone (no execute)

