Permission errors
Fix Access is denied (os error 5) when BakoshApp installs, updates or removes a mod or the Rust Survival server — three solutions ranked from fastest to most permanent.
What it looks like
Windows refused to let BakoshApp write or delete files in the game folder (GTA V, RDR2). BakoshApp never asks for administrator rights on its own: if the folder is protected, the operation simply fails.
- Install Mod, Update Mod or Reinstall Mod. The log panel shows
Failed to install mod: Failed to extract the downloaded archive. Please try again.(orFailed to update mod: …/Failed to reinstall mod: …). The log file hasExtraction error: File create error: Access is denied. (os error 5). - Delete Mod. There may be no error on screen — the app can even report
Mod deleted successfully!— but some files stay in the game folder. The log file hasFailed to delete <path>: Access is denied. (os error 5).
On a non-English Windows the system part of the message is in your language, but (os error 5) stays the same.
Why it happens
BakoshApp does not have permission to write or delete files in the chosen folder. The usual reasons are:
- The game is installed in a protected Windows directory (such as
C:\Program FilesorC:\Program Files (x86)), where any file change requires administrator rights. - The current Windows user does not have write permission to the specific game folder.
- Antivirus is blocking the mod files.
Failed to extract the downloaded archive can also mean the disk is full or the download was corrupted — see Install, update and delete errors. What points to permissions is Access is denied (os error 5) in the log file.
Reinstalling BakoshApp will not fix this — Windows itself is denying write access. You need to change permissions, run as administrator, or move the game out of the protected folder.
Solution 1 — Run BakoshApp as administrator (fastest)
Since the missing piece is write permission, granting it at launch is the quickest fix.
- Fully close BakoshApp.
- Find the BakoshApp shortcut on the desktop or the
.exefile. - Right-click it.
- Choose Run as administrator.
- If Windows (User Account Control / UAC) asks for confirmation, click Yes.
- Retry the action that originally failed.
Right-click the BakoshApp shortcut → Properties → Compatibility tab → check Run this program as an administrator → OK. BakoshApp will now always launch with the necessary rights.
Solution 2 — Grant full control over the game folder (no admin launch needed)
You can allow your Windows account to modify files in the game folder directly:
- Open File Explorer and navigate to the folder where the game is installed.
- Right-click the main game folder → Properties.
- Open the Security tab.
- Click Edit under the list of users (you may need administrator rights).
- Select Users or your current Windows account in the list.
- In the lower block, under the Allow column, tick Full control.
- Click Apply, then OK in every open window.
After this, BakoshApp can install and remove mod files without an admin launch.
Solution 3 — Move the game out of Program Files (recommended long-term)
Windows system folders like Program Files regularly conflict with mods and helper applications because of their strict security policy.
- Move or reinstall the game from a system folder to a user folder.
- Good install paths for games:
C:\Games\<GameName>or a separate drive such asD:\Games\....
This not only fixes the current error, it prevents similar problems with future mods and tools.
The Rust Survival counterpart
The same Access Denied problem can also occur when installing the Rust Survival server. The console then shows "Installation failed: …" with Access is denied when you click Install Server in the Rust Survival section.
Cause: the server folder is in a protected directory (for example C:\Program Files\RustServer), or your Windows account does not have write permission to the chosen folder.
- Do not use
Program Files. BakoshApp suggestsC:\RustServerby default — that path is fine. Alternatives:C:\Games\RustServer,D:\RustServer. - If the folder is already in the wrong place — open the Manage Mod tab in the Rust Survival section and click Change folder to choose a different one. The server files will need to download again, which takes a while.
- Launch BakoshApp as administrator (Solution 1 above — same steps).
- If antivirus is blocking the download or the server launch, add the server folder to your antivirus exclusions.