Skip to content

fix(ralphex-fe): fix config dir permission denied on UID remap - #56

Merged
gatezh merged 1 commit into
masterfrom
fix-ralphex-fe
Mar 26, 2026
Merged

gatezh merged 1 commit into
masterfrom
fix-ralphex-fe

Conversation

@gatezh

@gatezh gatezh commented Mar 26, 2026

Copy link
Copy Markdown
Owner

What

Fixes permission denied when creating ~/.config/ralphex after UID remapping with SKIP_HOME_CHOWN=1.

Why

When APP_UID differs from the build-time UID (1001) and SKIP_HOME_CHOWN=1, /home/app stayed owned by UID 1001. The remapped user couldn't create subdirectories like .config/ralphex, causing startup failures.

Changes

  • Always chown app:app /home/app (non-recursive, fast) regardless of SKIP_HOME_CHOWN — ensures the home directory itself is writable while still skipping the expensive recursive chown
  • Flatten files/ subdirectory — init.sh and init-docker.sh now live at ralphex-fe/ root
  • Update CI workflow trigger path from ralphex-fe/files/** to ralphex-fe/*.sh

🤖 Generated with Claude Code

When APP_UID != 1001 and SKIP_HOME_CHOWN=1, /home/app stayed owned by
build-time UID 1001, so the remapped user couldn't mkdir .config/ralphex.
Always chown /home/app itself (non-recursive, fast) regardless of
SKIP_HOME_CHOWN.

Also flatten files/ subdirectory — scripts now live at ralphex-fe/ root.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gatezh
gatezh merged commit caec366 into master Mar 26, 2026
8 checks passed
@gatezh
gatezh deleted the fix-ralphex-fe branch March 26, 2026 15:46
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