Tracker item #3608126, was opened at 2013-03-14 23:40
Message generated for change (Comment added) made by lousybrit
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3608126&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: kernel modules
Group: None
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: David Koudela (dkoudela)
Assigned to: Nobody/Anonymous (nobody)
Summary: Perforce versioning system fails when running sync command o

Initial Comment:
Perforce versioning system fails when running sync command on hgfs filesytem.

The problem is that perforce client uses rename operation upon a temp file 
which has read-only attributes. The operation then fails with permission denied 
(see attached test application).

The fix we have provided removes the read only attribute and retries the rename 
operation again (see attached source code and diff). The same code is already 
there (see function HgfsDelete) – probably it is a good idea to refactor the 
retry procedure.

Could you please add this fix to the upstream of the VMware tools?
Thanks a lot,
David.

----------------------------------------------------------------------

Comment By: Steve (lousybrit)
Date: 2013-05-06 10:58

Message:
Hi David,
I currently work on the HGFS file system, and just got notice of this from
dtor.

Thanks for looking into this, I will take a look at the modified file and
run it through some checks and tests.
I recently ran some perforce sync in my Ubuntu VM running on my Windows 7
host.
I didn't see any issues of note, but I will retry and pay close attention.

----------------------------------------------------------------------

Comment By: Dmitry Torokhov (dtor)
Date: 2013-03-15 09:51

Message:
Thank you David, I'll forward this on.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3608126&group_id=204462

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to