I'm trying to recursively chown
a VirtualBox shared folder, but I can't get it to work:
$ ls -lah
total 16K
drwxr-xr-x 4 root root 4.0K Aug 1 2012 .
drwxr-xr-x 23 root root 4.0K Jul 21 2012 ..
drwxrwx--- 1 root vboxsf 4.0K May 4 17:02 sf_dev
drwxrwx--- 1 root vboxsf 4.0K Sep 2 10:21 sf_dropbox
$ sudo chown -R pknight:pknight sf_dropbox && ls -lah
total 16K
drwxr-xr-x 4 root root 4.0K Aug 1 2012 .
drwxr-xr-x 23 root root 4.0K Jul 21 2012 ..
drwxrwx--- 1 root vboxsf 4.0K May 4 17:02 sf_dev
drwxrwx--- 1 root vboxsf 4.0K Sep 2 10:21 sf_dropbox
I'm aware that I could just add a user to the vboxsf group (as it has full permissions), but I don't want to give every user/daemon full permissions to all of my shared folders.
I'm running VirtualBox 4.2.x, with Windows 7 as the host and both Xubuntu and Debian as guests.
Is there any way for me to change the owner/group of my VirtualBox shared directory?