DeiC-HPC / cotainr

cotainr - a user space Apptainer/Singularity container builder.
European Union Public License 1.2
17 stars 3 forks source link

Create singularity sandbox with '--fix-perms' to correctly handle file permissions #49

Closed Chroxvi closed 7 months ago

Chroxvi commented 7 months ago

This PR fixes #48, i.e. an error encountered when using a base image which contains files that have restrictive permissions which is the case for the SUSE based docker images used for the official LUMI containers. The fix is based on adding the --fix-perms option to singularity build when creating the sandbox, as is also implied in the most basic Apptainer fakeroot builds.