Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Changed default user UID and GID to 1000, added file permissions checking on startup, add fix-permissions script#38

Merged
akatz-ai merged 8 commits intomainfrom
testing
Jun 20, 2025
Merged

Changed default user UID and GID to 1000, added file permissions checking on startup, add fix-permissions script#38
akatz-ai merged 8 commits intomainfrom
testing

Conversation

@akatz-ai
Copy link
Copy Markdown
Member

  • Force comfy user to 1000:1000 to match default WSL distro user permissions.
    • user uid and gid can be changed via the WANTED_UID and WANTED_GID environment variables
    • (e.g. WANTED_UID=1024,WANTED_GID=1024)
  • Added permissions checking on initial container startup:
    • permission checking mode can be set via the PERMISSION_CHECK_MODE environment variable.
    • PERMISSION_CHECK_MODE=once is the default, will check container files for permissions only on initial startup.
    • PERMISSION_CHECK_MODE=startup will run the permissions checking script on every container startup.
    • PERMISSION_CHECK_MODE=never will never run the permissions checking script.
  • Added a fix-permissions script which can be run via exec into the container (use comfydock dev exec for a convenient way to do so) and running the command fix-permissions.

@akatz-ai akatz-ai merged commit 795ba7e into main Jun 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant