openclaw - ✅(Solved) Fix [Bug]: Podman Windows WSL permission denied [1 pull requests, 2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#52180Fetched 2026-04-08 01:14:42
View on GitHub
Comments
2
Participants
3
Timeline
11
Reactions
0
Author
Timeline (top)
cross-referenced ×4commented ×2labeled ×2mentioned ×1

Loading image into openclaw Podman store... Error: faccessat /var/tmp/openclaw-podman-image..../openclaw-image.tar: permission denied

Error Message

Loading image into openclaw Podman store... Error: faccessat /var/tmp/openclaw-podman-image..../openclaw-image.tar: permission denied

Root Cause

Loading image into openclaw Podman store... Error: faccessat /var/tmp/openclaw-podman-image..../openclaw-image.tar: permission denied

Fix Action

Fixed

PR fix notes

PR #52215: fix(podman): relax image tar directory permissions for WSL

Description (problem / solution / changelog)

What

scripts/podman/setup.sh creates the image tar temp directory with chmod 700, which blocks the openclaw user from reading the tar file during podman image load on Windows WSL. Fixes #52180

How

chmod 700chmod 755. The directory is temporary (cleaned up on EXIT trap) and only holds a build artifact, so world-readable is fine here.

Testing

Verified the permission change is consistent with how other temp directories are handled in the script. The directory is short-lived and removed by the cleanup trap at line 256.


AI-assisted (Claude Code), reviewed by author.

Changed files

  • scripts/podman/setup.sh (modified, +1/-1)

Code Example

Loading image into openclaw Podman store...
Error: faccessat /var/tmp/openclaw-podman-image..../openclaw-image.tar: permission denied
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Summary

Loading image into openclaw Podman store... Error: faccessat /var/tmp/openclaw-podman-image..../openclaw-image.tar: permission denied

Steps to reproduce

Running ./scripts/podman/setup.sh on Win. WSL with podman Latest github

Expected behavior

Load image properly

Actual behavior

Failed with permission error

OpenClaw version

2016.3.13/Latest

Operating system

Windows 11

Install method

podman build script

Model

N/A

Provider / routing chain

N/A

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Loading image into openclaw Podman store...
Error: faccessat /var/tmp/openclaw-podman-image..../openclaw-image.tar: permission denied

Impact and severity

No response

Additional information

Possible fix: chmod 700 "$IMAGE_TAR_DIR" -> chmod 755 "$IMAGE_TAR_DIR"

Explaination: user openclaw cannot read $IMAGE_TAR_DIR

drwx------ 2 user user 4096 Mar 22 09:42 /var/tmp/openclaw-podman-image.rjANdG

Side note: OPENCLAW_GID=$OPENCLAW_UID

extent analysis

Fix Plan

To resolve the permission denied error, we need to modify the permissions of the $IMAGE_TAR_DIR directory.

  • Change the line chmod 700 "$IMAGE_TAR_DIR" to chmod 755 "$IMAGE_TAR_DIR" in the setup.sh script to allow read and execute access to the directory for all users.
  • Alternatively, you can also use chmod 755 "$IMAGE_TAR_DIR" in the terminal before running the script.

Example code snippet:

# Before running the setup script
IMAGE_TAR_DIR=/var/tmp/openclaw-podman-image
chmod 755 "$IMAGE_TAR_DIR"

# Or modify the setup.sh script
# ...
IMAGE_TAR_DIR=/var/tmp/openclaw-podman-image
chmod 755 "$IMAGE_TAR_DIR"
# ...

Verification

After applying the fix, re-run the ./scripts/podman/setup.sh script and verify that the image is loaded properly without any permission errors.

Extra Tips

  • Make sure to update the OPENCLAW_GID and OPENCLAW_UID variables accordingly to ensure consistent permissions.
  • Consider using a more restrictive permission setting if possible, to minimize security risks.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Load image properly

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING