I have my C:\Users\Mike\Projects
directory registered for sharing in VirtualBox as "projects" (full access, permanent).
In my Ubuntu 10.04 server VM, I am using the following mount command:
sudo mount -t vboxsf -o uid=1000,gid=1000,rw,exec projects /home/mike/projects
The shared directory is mounted.
mike@zsce:~$ ll
drwxrwxrwx 1 mike mike 4.0K 2011-02-01 10:32 projects
If I create a file from Windows I can see and delete it on Ubuntu and vice-versa. So far, so good.
The problem is that I cannot do svn checkouts from the guest here.
mike@zsce:~/projects$ svn co svn://server/myproject/ ./myproject
svn: Can't move 'myproject/.svn/tmp/entries' to 'myproject/.svn/entries': Operation not permitted
My intention is to use the VM as a local development server. Use Windows 7 for all IDE/e-mail/web/etc needs and just use the server to test and commit my code. The Windows IDE and the VM's web server would be operating on the same source code.
However, the entries file ends up not being writable by me.
mike@zsce:~/projects/myproject/.svn$ ll entries
-r-xr-xr-x 1 mike mike 166 2011-02-01 10:34 entries
Even root
cannot delete the files without first executing chmod -R 777
.
What gives?