Red Hat Bugzilla – Bug 981318
File rename creates a new file with same name on windows client
Last modified: 2013-09-23 18:29:50 EDT
Created attachment 768797 [details]
screenshot of the windows explorer window
Description of problem:
On the windows client, when you rename a file and save it, it creates a new file.
While the new file shows the correct size, the old file is a 0Kb file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a distribute volume.
2.Create a Samba-VFS share for the distribute volume in the /etc/samba/smb.conf file.
3. Map the share on the windows client. Create some files.
4. Access the share via windows explorer, right click -> New -> New Text document.
5. A new text file is created, rename the file say abc.txt. Open the file and edit it and save the file. A new file is created with the same name.
While the new file shows the actual size of the file, the old file is a 0Kb file.
should not create a new file. The same file should be updated.
Changes posted for review
The bug is verified in the version glusterfs-220.127.116.11rhs-1.el6rhs.x86_64.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
For information on the advisory, and where to find the updated files, follow the link below.
If the solution does not work for you, open a new bug report.