fboulnois / stable-diffusion-docker

Run the official Stable Diffusion releases in a Docker container with txt2img, img2img, depth2img, pix2pix, upscale4x, and inpaint.
GNU Affero General Public License v3.0
735 stars 127 forks source link

PermissionError: [Errno 13] Permission denied: '/output/(name).png' #67

Closed TheBread1 closed 1 year ago

TheBread1 commented 1 year ago

Just reinstalled Debian and set stable diffusion up, and I've never gotten this error before. Any thoughts that could help? Doing everything properly, running build.sh in sudo

fboulnois commented 1 year ago

Does the fix from https://github.com/fboulnois/stable-diffusion-docker/issues/12#issuecomment-1252032291 work?

TheBread1 commented 1 year ago

Him purging the huggingface thing or changing docker to a new group?

TheBread1 commented 1 year ago

I managed to fix it. the output folder was owned by root, I chowned it to my user and that fixed it