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:
mkdir -p $MYGROUP/.singularity chown -hR $USER:$PAWSEY_PROJECT $MYGROUP/.singularity find $MYGROUP/.singularity -type d -exec chmod g+s {} \;