Read and Write Permissions
Fix Sonoran CAD FiveM issues caused by read-only files or missing write permissions on Windows and Linux hosts.

Sonoran CAD FiveM - Fix file permission issues
If the sonorancad resource cannot create, rename, or update files, you may see startup issues like:
Failed to create target fileFailed to rename ..._config.dist.lua to ..._config.luaUnable to open config backup fileChanges not saving after updates or restarts
These usually mean your host has marked the resource files as read-only, or the server process does not have permission to write to them.
Host Restrictions
Some game panel hosts (Ex: ZAP Hosting) do not allow FiveM resources to programmatically modify other files. This blocks the Sonoran CAD resource from updating itself. In this case, you must disable automatic updates and manually install updated versions of the resource as they release.
To disable automatic updates navigate to your config file:
[sonorancad]/sonorancad/configuration
/config.json and change allowAutoUpdate from true to false.
Looking for a server host? Learn more about our one-click installation here.
Step 1: Open your game panel
Log into the panel where your FiveM server is hosted, such as txAdmin, Pterodactyl, ZAP-Hosting, Gamepanel, or your VPS file manager.
Step 2: Locate the Sonoran CAD resource
Check the main Sonoran CAD resource folder and configuration folder:
Pay special attention to:
Linux Hosts (Game Panels)
Linux Hosts
1. Locate the resource files
Open your host panel or file manager and navigate to:
2. Fix file permissions
Navigate to the specific file mentioned in the error code and update the permissions.
Recommended file permissions:
766If that fails, try
666
If your panel supports permission changes:
Right-click the
configurationfolder or affected fileSelect Permissions
Apply the updated permissions


If your host does not allow permission changes, contact the hosting provider and ask them to make the Sonoran CAD resource writable.
Quick permission reference
Each permission digit is the sum of:
4= read2= write1= execute
Common values:
4= read only6= read + write7= read + write + execute
Windows Hosts
Windows
1. Open the file or folder properties
Start with the configuration folder. If needed, also check the full sonorancad folder.
Right-click the folder or affected file
Click Properties
2. Allow read and write access
Under the General tab:
Uncheck Read-only
Click Apply
Choose to apply changes to this folder, subfolders, and files if prompted
Click OK
If you only changed a single file and the issue comes back, repeat the process on the entire sonorancad folder.
Final step: restart the resource
After updating permissions, restart the Sonoran CAD resource or your full server:
If the issue continues, verify the files are named correctly and were not saved with extra extensions such as config.json.json.
Last updated
Was this helpful?

