create a shared folder using vbox. /tmp for instance, name it temp
sudo mkdir /mnt/c-temp
sudo chown jay:jay /mnt/c-temp
sudo mount.vboxsf -o uid=1000,gid=1000 temp /mnt/c-temp
or as a script:
#!/bin/bash
sharename="temp"
sudo mkdir /mnt/$sharename
sudo chmod 777 /mnt/$sharename
sudo mount -t vboxsf -o uid=1000,gid=1000 $sharename /mnt/$sharename
ln -s /mnt/$sharename $HOME/Desktop/$sharename
sudo chown jay:jay /mnt/c-temp
sudo mount.vboxsf -o uid=1000,gid=1000 temp /mnt/c-temp
or as a script:
#!/bin/bash
sharename="temp"
sudo mkdir /mnt/$sharename
sudo chmod 777 /mnt/$sharename
sudo mount -t vboxsf -o uid=1000,gid=1000 $sharename /mnt/$sharename
ln -s /mnt/$sharename $HOME/Desktop/$sharename
No comments:
Post a Comment