Closed Chroxvi closed 12 months ago
Cotainr is a user space container build tool. The only way we can handle this is by modifying the permissions of those files with restricted permissions. Using the --fix-perms
option when creating the singularity sandbox, as suggested in the warnings produced by singularity, seems like a good solution.
If a base image (e.g. docker://opensuse/leap:15.4) contains files that are owned by root or otherwise have restricted permissions, cotainr fails when tyring to build a SIF image from such a base image. Here is a minimal reproducible example on LUMI: