Skip to content

[Bug]: Podman Windows WSL permission denied #52180

@theoren

Description

@theoren

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions