Skip to main content


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 your sonoranradio 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

  1. Right-click config.lua
  2. Click Properties

Step 3: Allow Read & Write access

  1. Under the General tab:
    • ❌ Uncheck Read-only
  2. Click Apply
  3. Click OK
In Properties > Security, verify that the account running FiveM can read and write the file. For backup errors, it also needs permission to create files in the sonoranradio folder.

If it keeps reverting to Read-Only

Apply the change to the entire folder:
  1. Right-click the sonoranradio folder
  2. Click Properties
  3. Uncheck Read-only
  4. Click Apply
  5. Select Apply changes to this folder, subfolders, and files
  6. 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. Keep config.lua private because it contains the API key. If the game panel supports file permissions:
  1. Right-click config.lua
  2. Select Permissions
  3. Apply the change
⚠️ If your panel does not allow permission changes, contact your hosting provider and ask them to make the file writable.

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

If the FiveM process owns the file, 600 gives it read and write access. The process also needs access to the parent directories.

Final Step: Restart SonoranRadio

After correcting the permissions, run the restart command in the FiveM server console.