Ticket #2257 (closed defect: invalid)
Cannot overwrite files in shared folders
|Reported by:||anbrs1||Owned by:|
Windows XP SP2 guest with Guest Additions 2.0.2r36486, Ubuntu 8.04 host.
If I try to copy a file to a shared folder and it already exists there, and I click "Yes" in the Confirm File Replace dialog, I get an error dialog titled "Error Copying File or Folder" that says "Cannot copy <filename here>: The parameter is incorrect." After that, the file to be overwritten is gone.
However, I am able to open, modify, and save files in the shared folder (usually) without errors.
In what may be a symptom of the same bug, if I use shell redirection to overwrite a file in a shared folder, the old file is not truncated properly. Assuming X: is the shared folder drive, at the command prompt:
x: echo asdf123456789 > trunc.txt more trunc.txt
echo qwer > trunc.txt more trunc.txt
The same thing happens when I overwrite a file using a Python script: if the new version is shorter, the tail of the old one remains.