You are not logged in.
Hi,
I have the latest ArchLinux installed as a *guest* on VirtualBox 4.1.2 on Windows 7 *host*.
I have installed "guest additions" from pacman as indicated in the wiki.
I share a Windows folder and mount it in Arch:
sudo mount -t vboxsf -o uid=1000,gid=100 share mountpoint
I can read and *modify* existing files as an ordinary user no problem. However, I can only create and delete files with sudo!
I tried 'sudo chmod a+w' on directories, files, etc., to no avail. I get a 'Permission denied' error. The mountpoint permission
does indicate that after I mounted the shared folder I lost 'w' permission. Even sudo chmod +w does not give it back.
Can someone help me get file creation/deletion permission for ordinary users on a shared folder? Otherwise I have to run
all my compilation commands with sudo!
Thanks in advance,
--shiv--
Offline
Hello,
I'm also an absolute newbie both in Linux and Arch.
But mounting the VirtualBox shared folder 'Library' to mountpoint /home/amw/Library
in /etc/fstab like this worked for me:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
UUID=1bba9ef1-0eb9-453b-b565-f9ad6fb8225b swap swap defaults 0 0
UUID=b0b24611-a3d7-42e3-9fc9-d18ac993a797 /home ext2 defaults 0 1
UUID=de71a26a-90b4-45da-b246-7b50188bc871 / ext2 defaults 0 1
UUID=e7a8f35a-a275-4bba-a0c3-1ddfdea0f16f /boot ext2 defaults 0 1
#
# 20110910 AMW
Library /home/amw/Library vboxsf uid=1000,auto,rw,exec,suid,dev 0 0Succes,
AMW
Offline
Seems like you accidentaly set sticky bit on mount point in guest. Try this.
chmod a+rwx-t mountpoint before mounting.
Offline
I tried removing the sticky-bit as you suggested, but that did not work either.
I will now try the previous suggestion ...
Thanks for taking the time to answer.
--shiv--
Offline
This did not work either. Thanks for taking the time!
--shiv--
Hello,
I'm also an absolute newbie both in Linux and Arch.
But mounting the VirtualBox shared folder 'Library' to mountpoint /home/amw/Library
in /etc/fstab like this worked for me:# # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> tmpfs /tmp tmpfs nodev,nosuid 0 0 UUID=1bba9ef1-0eb9-453b-b565-f9ad6fb8225b swap swap defaults 0 0 UUID=b0b24611-a3d7-42e3-9fc9-d18ac993a797 /home ext2 defaults 0 1 UUID=de71a26a-90b4-45da-b246-7b50188bc871 / ext2 defaults 0 1 UUID=e7a8f35a-a275-4bba-a0c3-1ddfdea0f16f /boot ext2 defaults 0 1 # # 20110910 AMW Library /home/amw/Library vboxsf uid=1000,auto,rw,exec,suid,dev 0 0Succes,
AMW
Offline