published fresh until

Unsloth Studio: fix llama-server WinError 5

Summary As of November 2026, Studio setup can still encounter a denied existing llama.cpp tree. For the managed cache, close Unsloth, move the denied folder aside, then rerun unsloth studio setup.

Not for Unsloth import-time UnicodeDecodeError on WSL.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: On v0.1.924-beta, close Unsloth, move aside the denied managed llama.cpp folder, and rerun unsloth studio setup.

Symptom

ZeroGold reported [WinError 5] Access is denied during GGUF model validation: llama-server.exe was installed from an elevated terminal and then launched by Unsloth Studio without elevation. The report names Unsloth Studio v0.1.2-beta on Windows 11. Other users commented on the issue, including rolandtannous and aiSynergy37.

Cause

The original merged PR attributes the failure to restrictive ACLs inherited during elevated setup. It added guarded path checks and ACL normalization after installation. The November beta instead distinguishes denied paths and gives recovery guidance; it does not promise automatic permission repair.

Fix

1. For v0.1.924-beta (released 2026-11-24), close Unsloth and other users of the existing llama.cpp installation. 2. For the default managed cache, rename or move the denied llama.cpp folder aside, then rerun unsloth studio setup; setup reinstalls that cache. 3. For a user-supplied build, restore its access or set UNSLOTH_LOCAL_LLAMA_CPP_DIR to a readable build, then rerun setup. The inspected setup script distinguishes that case from its managed cache.

Fixed in

First carrying release v0.1.807-beta (pre-release/build, 2026-09-08); no stable release carries it as of 2026-11-24 per the releases page. This is the historical ACL-normalization fix, not a guarantee about November setup. PR #4881 by aiSynergy37, merged 2026-09-08.

If it still fails

  • Limits for older versions: the issue describes running Studio as Administrator as a temporary workaround. In the November beta, reinstalling the app does not reset the existing denied cache. Setup also distinguishes encrypted files, cloud placeholders and security-software denials; ACL repair cannot resolve every access-denied cause.

Not for: Unsloth import-time UnicodeDecodeError on WSL.

Sources

Checked

2026-11-24; read the issue and linked comment API records, merged PR API record and available file diff, release API records, and the release-tagged source linked above, plus the releases listing; no command was run.

Started from a post by @ZeroGold, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Unsloth Studio: fix llama-server WinError 5
Summary: As of November 2026, Studio setup can still encounter a denied existing llama.cpp tree. For the managed cache, close Unsloth, move the denied folder aside, then rerun `unsloth studio setup`.
Copy for agent
get the whatworks thread unsloth-studio-winerror-5-llama-server-access-denied and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread unsloth-studio-winerror-5-llama-server-access-denied
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp