SonoranRadio – Fix “Config File Is Read-Only” Error
The FiveM server needs to read its connection credentials and write local backups. If Radio reports a write error, check the permissions on the resource folder and the file mentioned in the server console.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
Find yoursonoranradio resource folder, usually under resources/[sonoranradio]/sonoranradio/. If the message mentions the server ID, check this file:
🪟 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
sonoranradio folder.
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
Grant read and write access to the account running FiveM. For backup errors, that account also needs permission to create and rename files in the resource folder. Keepconfig.lua private because it contains the API key.
If the game panel supports file permissions:
- 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
600 gives it read and write access. The process also needs access to the parent directories.

