Hello,
I have a NetBSD 10 vm on which I recompiled the kernel to allow virtio-9p.
I'm trying to do some software development for NetBSD, but from my Linux editor and decided to use 9p develop on Linux but from a terminal build and run on NetBSD.
I was able to mount the 9p share with.
mount_9p -cu /dev/vio9p0 /mnt/9p
I had to use the pass-through access mode to be able to write files from the guest, it is not secure, but for pure dev environnement, I accept that.
So I have something working, however I mounted the share inside the guest as root and because 9p does not handle permission, I cannot access the share with a normal user.
I've seen that NetBSD allows users mounts as long as the user have read access, but
mount_9p: puffs_mount: cannot open `/dev/puffs'
mount_9p: puffs_mount: mount_9p: puffs_daemon: Permission denied
Permission denied
I read that user can mount with read access to devices.
How do I give myself access ?
Is chmod in /dev/puffs "OK".
My user is in the wheel group allowing me group access, put /dev/puffs has lrwx------
access rights.
Cheers.