Page 1 of 1

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

Posted: 6. Dec 2011, 05:39
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.