/
Quota and Writing Errors Related to the Singularity Cache Directory
Quota and Writing Errors Related to the Singularity Cache Directory
Inappropriate file ownership and permissions associated with files in the Singularity cache directory can cause errors when downloading and running containers, such as
- "Disk quota exceeded"
- "Error writing blob: unexpected EOF"
Current and perspective users of Singularity containers are advised to run this sequence commands as a once-off, to avoid this issue:
Terminal 1. Set ownership and permissions for Singularity containers
$ module load singularity/<version> $ echo $SINGULARITY_CACHEDIR /software/projects/<project>/<user>/.singularity $ chown -hR $USER:$PAWSEY_PROJECT $SINGULARITY_CACHEDIR $ find $SINGULARITY_CACHEDIR -type d -exec chmod g+s {} \;
Where <version>
is one of the module versions available for singularity, and <project>/<user>
are your project and username that form the path.