The installed directories by the package should be under the user/group ownership 'comfy:comfy'. If they're not it's because installation didn't complete correctly. You should try reinstalling the package. Make sure you have enough space for the download (rocm and equivalent dependencies are particularly heavy).
You should then start the comfyui service through systemd and visit localhost:8188 to use the software.
Have you tried proceeding this way?
Also, if you want to install the program at a given location (for space concerns), you use:
env _prefix=/my/own/directory makepkg
to make the package. This will install the whole venv part of ComfyUI in the directory you selected. However, make sure the comfyui.install file is clean according to Git when you do this. Otherwise, sed instructions might fail.
Pinned Comments
sim590 commented on 2026-05-25 20:02 (UTC) (edited on 2026-05-29 23:26 (UTC) by sim590)
Quick Start & Troubleshooting
How to run ComfyUI:
ComfyUI is packaged as a systemd service. The recommended way to run it is:
Then visit
http://localhost:8188in your browser. To start it automatically on boot:Do NOT run
comfyuidirectly from your terminal as your regular user. The application files in/opt/comfyuiare owned by thecomfysystem user. Running it as your own user will result inPermissionError: Permission deniedon directories like/opt/comfyui/user,/opt/comfyui/temp, or/opt/comfyui/venv.If you need to run it manually (e.g., for debugging), use:
"Permission denied" on
/var/lib/comfyui/input/3d:This means the data directories were not created with proper ownership. Run:
If the initial installation failed (e.g., PyTorch download interrupted):
The post-install setup may not have completed. Reinstall the package (through
pacman -Uor your preferred wrapper tool like yay or paru). This will re-run the setup, install dependencies, and apply correct ownership.Custom install location:
To install ComfyUI to a different directory (e.g., a separate drive), build the package with:
See also the README file in the repo