VMware Communities
cjw296
Contributor
Contributor

"Permission denied" error when trying to move file on host filesystem using guest software

Hi All,

Host is Windows XP SP2 32-bit running VMWare Workstation 6.5.1.

Guest is Ubuntu 8.04 LTS with VMWare Tools installed.

I have C:\ shared as "Shared Folder" which shows up in the guest at /mnt/hgfs/C/

I'm trying to do an svn copy using the svn command line client in the guest on a checkout on the host's fs:

root@desktop:/mnt/hgfs/C/LocalSVN/Customer/configs# svn cp dev1/ staging1

svn: Can't move 'staging1/.svn/tmp/entries' to 'staging1/.svn/entries': Permission denied

I can do the exact same operation just fine on the host os in a dos box.

Any idea what the problem could be?

cheers,

Chris

PS: From the guest's /etc/fstab:

  1. Beginning of the block added by the VMware software

.host:/ /mnt/hgfs vmhgfs defaults,ttl=5 0 0

  1. End of the block added by the VMware software

Tags (4)
Reply
0 Kudos
2 Replies
digitalemagine
Contributor
Contributor

Apparently that's an old issue, see: http://ubuntuforums.org/showthread.php?t=858059

" it looks like svn creates the entries file without write permission, then tries to move a temporary file over it. As windows does not allow to remove read-only files, it refuses to replace it with the temporary file and thus we get this error…"

this is still true even with the latest version of vmware player... did anybody find a workaround??

Reply
0 Kudos
_ZAB_
Enthusiast
Enthusiast

Ok. It is 2013 already. The question is how to force hgfs to ignore read-only attribute during move. Or ignore this attribute always.

Reply
0 Kudos