Skip to content

fix: ensure /etc/openshell directory exists before chown in nemoclaw#29

Merged
drew merged 4 commits intomainfrom
fix/ensure-openshell-dir-exists
Mar 13, 2026
Merged

fix: ensure /etc/openshell directory exists before chown in nemoclaw#29
drew merged 4 commits intomainfrom
fix/ensure-openshell-dir-exists

Conversation

@drew
Copy link
Collaborator

@drew drew commented Mar 13, 2026

Summary

  • Fixes CI build failure from fix: rename /etc/navigator policy paths to /etc/openshell #28 where chown -R sandbox:sandbox /etc/openshell fails because the directory doesn't exist yet
  • The /etc/openshell/ directory is created by the openclaw base image's COPY policy.yaml /etc/openshell/policy.yaml instruction, but during CI the published base image still has the old /etc/navigator path
  • Adds mkdir -p /etc/openshell before the chown to guarantee the directory exists regardless of base image state

Failing job

https://github.com/NVIDIA/OpenShell-Community/actions/runs/23066071527/job/67004779894

chown: cannot access '/etc/openshell': No such file or directory

drew added 4 commits March 13, 2026 12:18
The nemoclaw Dockerfile chowns /etc/openshell which is created by the
openclaw base image's COPY instruction. When the base image hasn't been
rebuilt yet, the directory doesn't exist. Add mkdir -p to guarantee it.
@drew drew merged commit e8030cb into main Mar 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant