NousResearch/hermes-agent

Installer permission error with sudo -u user

Cluster 21269. Data as of

Nothing open on GitHub. Fix merged in #21537 on 7 May 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #21537. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #21537. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where the installer fails with a permission denied error on /root/uv.toml when run via sudo -u, and a proposed fix setting UV_NO_CONFIG=1 to avoid reading root-owned config files in that context.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #21537 fix(installer): set UV_NO_CONFIG=1 to avoid permission denied under sudo -u

    merged to main

    files: scripts/install.sh, scripts/release.py, setup-hermes.sh

    Show the diff
    • scripts/install.sh
      @@ -28,6 +28,10 @@ if [ -n "${PYTHONHOME:-}" ]; then
           unset PYTHONHOME
       fi
       
      +# Prevent uv from discovering config files (uv.toml, pyproject.toml) from the
      +# wrong user's home directory when running under sudo -u <user>.  See #21269.
      +export UV_NO_CONFIG=1
      +
       # Colors
       RED='\033[0;31m'
       GREEN='\033[0;32m'
    • scripts/release.py
      @@ -78,6 +78,7 @@
           "[redacted:email]": "dengtaoyuan450-a11y",
           "[redacted:email]": "Junass1",
           "[redacted:email]": "Bartok9",
      +    "[redacted:email]": "hllqkb",
           "[email protected]": "Bongulielmi",
           "[redacted:email]": "JTroyerOvermatch",
           "[redacted:email]": "hharry11",
    • setup-hermes.sh
      @@ -29,6 +29,10 @@ NC='\033[0m'
       SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
       cd "$SCRIPT_DIR"
       
      +# Prevent uv from discovering config files (uv.toml, pyproject.toml) from the
      +# wrong user's home directory when running under sudo -u <user>.  See #21269.
      +export UV_NO_CONFIG=1
      +
       PYTHON_VERSION="3.11"
       
       is_termux() {

1 PR closed without merging

From the close comments: merged via another change 1

  • #21288 fix(installer): set UV_NO_CONFIG=1 to avoid permission denied under sudo -u · merged via another change → #21537
Closed issues · 1
  • Closed#21269[Bug]: Installer fails with Permission denied on /root/uv.toml when run via sudo -u <user>
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#21537
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
7 May 2026

For your agent

The same facts, typed.