[!SOLVED!] Can't fully share "My" folders

Discussions about using Linux guests in VirtualBox.
Post Reply
klemperal
Posts: 2
Joined: 18. Oct 2011, 22:17
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 11.10 (64 bit)

[!SOLVED!] Can't fully share "My" folders

Post by klemperal »

Windows 7 64-bit host
Ubuntu 11.10 64-bit guest

For whatever reason, while I can edit existing files, I cannot create new files or dirrectories within my shared "My" dirrectories (e.g. Windows My Documents, My Music, My Videos, etc.). Below is my rc.local. Note that I have full access to the "eLibrary" and "Desktop Art" folders, but not the rest. Any thoughts on how I can get around this?

Code: Select all

sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Desktop_Art  /home/alex/Desktop\ Art
sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Documents /home/alex/Documents
sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Downloads /home/alex/Downloads
sudo mount -t vboxsf -o rw,uid=1000,gid=1000 eLibrary /home/alex/eLibrary
sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Music /home/alex/Music
sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Pictures /home/alex/Pictures
sudo mount -t vboxsf -o rw,uid=1000,gid=1000 Videos /home/alex/Videos

exit 0
SOLUTION

The reason that these folders were not able to be accessed / shared had to do with the special permissions associated with "My" directories. The solution is to change these permissions on the Windows host by entering the the following commands into the command prompt

Code: Select all

attrib -r +s c:\path\to\offending\directories
Now I have full read, write, modify access to my "My" directories.
Post Reply