Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Setting up permissions for shared folder on a ViralBox VM.

$
0
0
I'm currently running Ubuntu Server 14.04 and wanted to create a virtual machine (another Ubuntu Server) to run transmission on it.

I installed virtualbox and edited /etc/fstab to auto mount a share that links to a folder in one of the external hard drives attached to the computer. I have access to the share and can create and edit files.

I want this share to contain the folders that transmission is gonna download to but in order for transmission to work, it's user "debian-transmission" needs read and write permissions to the folders. Without those transmission is gonna through the error: "Error: Permissions denied.." as soon as it starts to download a file.
So I need the debian-user (on the guest machine) to be able to read an write on a shared folder that is mounted on the host.

I've tried to chown debian-transmission:"user" "folder" on the root guest and giving it chmod 775 permissions without success. Whenever I do that, the permissions show as run by root in the host machine.

I also tried creating a debian-transmission user on my host (main) machine with the same uid as the guest user, and give it the same permissions. All without luck. I also added the debian-transmission user to both main accounts groups with usermod -aG.

All of these made me try a different approach an tried the same thing on a samba share and I'm encountering the same problems.


I am starting to get frustrated :mad:, probably missing something obvious. I guess I could make transmission run under the root account as it seems to be able to access the folder, but I don't really wanna do that.


Thank you!

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>