Shared folder - mount problem

I did a new install of Whonix on kvm. The problem is with shared folder. I got the permission denied error. After much searching and trying things I no longer have the error. (Finally). I am trying to mount the share folder using sudo and not. With sudo I get permission denied, and without I must be superuser. I’m close, so close. I am in Persistent mode. Do I do su or sudo -i to mount the folder?

Thanks for any help. FYI, I only have the READ.ME in /mnt/shared. What a strange trip this has been.

1 Like
  1. “forget” about shared folder. Learn how to use sudo generally. Refer to:

  1. follow KVM shared folder documentaiion

KVM, Shared Folder

1 Like

Thanks for your reply Patrick. My problem was due to operator error. My share folder now works.

The wiki is correct.

Just for anyone else looking if you’re using virtio-9p and your host’s uid is different ie not 1000 say because you were using systemd-homed on your host then you’ll need to set the share accessmode='mapped' on the share, by default 9p I found defaults to passhtrough. If your host UID is say uid=60139 then you won’t be able to read/write files in the guest.

1 Like