-
|
In the default config, there is: mounts:
- location: "~"
# CAUTION: `writable` SHOULD be false for the home directory.
# Setting `writable` to true is possible, but untested and dangerous.
writable: falseI was wondering what kinds of failure modes we should expect from a writeable home, and if any data loss has ever been observed. It would help users evaluate the risks. E.g. am I only worried about individual files being corrupted if errors occur? Or my entire home being deleted by some freak mounting issue? I appreciate this may deliberately err on the side of caution and failures are not well-known, but any info would be great. Thank you :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
I believe this is just being cautious in general. In a way any software can cause catastrophic data loss. Just as a point of reference, both Rancher Desktop and Colima (both of which use Lima under the hoods) have switched to mounting the home directory as writable for practical considerations. @AkihiroSuda Will we ever change the default setting for Lima? If we want to, what would be the condition to enable this? If we say we don't trust |
Beta Was this translation helpful? Give feedback.
-
|
What is the main use case for mounting the home directory ? Is it to access credentials from Just wondering, seems like most the files that I edit are under |
Beta Was this translation helpful? Give feedback.
-
I think data loss on the virtual machine is to be "expected"... * as in Docker Toolbox, which exported |
Beta Was this translation helpful? Give feedback.
I believe this is just being cautious in general. In a way any software can cause catastrophic data loss.
Just as a point of reference, both Rancher Desktop and Colima (both of which use Lima under the hoods) have switched to mounting the home directory as writable for practical considerations.
@AkihiroSuda Will we ever change the default setting for Lima? If we want to, what would be the condition to enable this? If we say we don't trust
sshfs, then we obviously will have to wait until we switch to something else. But otherwise I'm not sure what we would be waiting for.