-
-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Describe the bug
- In this figure, is the /media/12T/practice is read-write and the /media, /media/12T directories are read-only? So the permission was denied?
β μ΄μ§μ/cpax_forum: Re: RuntimeError
That's a bug! It looks like the
utils data_config build commandwrites tooutputSubjectListLocationfromDATA_SETTINGS_FILE(Usage: cpac utils data_config build [OPTIONS] DATA_SETTINGS_FILE), but
cpacisn't automatically binding that directory. In this example,/media/12Tin your container doesn't point to anywhere, so you can't write to that path (/media/12T/practicein your container points to/media/12T/practicelocally, but the parent directories aren't accessible from the container). As a stopgap until the issue is resolved, you could pass theoutputSubjectListLocationfile or directory as a custom binding or as the working directory, or run from theoutputSubjectListLocationdirectory.
β @shnizzedy/cpax_forum: Re: RuntimeError
To reproduce
No response
Expected behavior
cpac binds the output directory automatically
Acceptance criteria
-
cpacbinds the output directory automatically
Screenshots
No response
C-PAC version
C-PAC v1.8.3, cpac v0.4.0
Container platform
No response
Docker and/or Singularity version(s)
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status

/cpax_forum: Re: RuntimeError