Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container permission denied #20

Open
ajdneuro12 opened this issue Mar 2, 2022 · 4 comments
Open

Container permission denied #20

ajdneuro12 opened this issue Mar 2, 2022 · 4 comments

Comments

@ajdneuro12
Copy link

Hello,

Thanks for this great tool. I am running into a permissions issue using as a Singularity container using the latest pull:

PermissionError: [Errno 13] Permission denied: '/app/NiftyMIC/MONAIfbs/monaifbs/models/checkpoint_dynUnet_DiceXent.pt'

Thanks for any ideas!

@renbem
Copy link
Collaborator

renbem commented Mar 2, 2022

Hi, How do you access the docker image?

@EricDeveaud
Copy link

in my case previous singularity build, permission of the file is incorrect

total 357755
-rw------- 1 root root 366340534 Apr 12 14:28 checkpoint_dynUnet_DiceXent.pt

should be 644 at least not 600

regards

Eric

@Arfentul
Copy link

Hi Michael,

Apologies, I'm having trouble re-building the docker image. I believe adding a chmod to the Dockerfile will fix this issue.
RUN chmod -R 777 /app

It would be fantastic to have that update available on DockerHub.

Much appreciated,
Clemente

@Arfentul
Copy link

Arfentul commented Apr 26, 2024

I figured out my issue with re-building the docker! I pushed a copy of the container to DockerHub with the permissions adjusted and it's working as a Singularity container:
https://hub.docker.com/r/arfentul/niftymic.sing

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

No branches or pull requests

4 participants