9p/virtfs share not writable #4458
-
Describe the issue Configuration
Setup
I know the network dropped bug is already been reported as #4394 but my issue is that trying to modify either of these files, or create new files fails with EACCESS - It appears I can make changes as root - |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Try running |
Beta Was this translation helpful? Give feedback.
-
@osy - does your chown solution not create a new problem in that the fileownership on the host filesystem are now set to the uid and gid of the guest account in the VM? I see exactly the same issue as @rpolyano. We can solve this by using bindfs to re-mount the 9p mount with the desired uid and gid in the guest. Something like
However it seems to me there must be a way this can be solved via either the call in UTM into qemo -fsdev or in the mount options for the mount command inside the guest. If anyone has any pointers for this I would really appreciate it. Oh and @osy I think this is an issue rather than a discussion until we root cause a solution.... |
Beta Was this translation helpful? Give feedback.
-
I also ran issues with permissions and solved it by installing bindfs (as above). To get the shared folder to mount every boot, append the following to /etc/fstab:
|
Beta Was this translation helpful? Give feedback.
Try running
sudo chown -R yourusername:yourgroup path/to/share/mount