Read-only file system (Mac) #1453
Replies: 1 comment 6 replies
-
There was a bit of a mess with the apptainer environment variable, but having a read-only home directory is default in Lima. With the suggested PR, it will leave the guest home directory as-is and instead add the host home directory as a bindpath... But it only affects the If you need an external directory mounted from the host into the container (read-write), I think you need to add it to both:
There are some performance implications, so things like temp files are better off using the TMPDIR in the VM itself (/tmp). Or if it is a persistant directory like a build directory, some other location on the disk image such as /var/tmp (or whatever). Do you have a link or some logs, on what you are trying to accomplish ? |
Beta Was this translation helpful? Give feedback.
-
Description
As I'm trying to use apptainer (Mac) to install SmartMocap, it keeps on giving me the error that the SmartMocap folder is a read-only file system:
Unable to create build: failed to create build parent dir: makedir .../SmartMocap/build-temp-2943408036: read-only file system
I've tried various amounts of efforts (chmod etc.) to solve this but when I look at the permissions of the folder it says it is readable and writeable, while in lima it's still only readable.
Somebody who knows how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions