Bug 981318 - File rename creates a new file with same name on windows client
Summary: File rename creates a new file with same name on windows client
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Raghavendra Talur
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 956495 990410
TreeView+ depends on / blocked
 
Reported: 2013-07-04 12:59 UTC by Ujjwala
Modified: 2013-09-23 22:29 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.4.0.15rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 990410 (view as bug list)
Environment:
Last Closed: 2013-09-23 22:29:50 UTC
Embargoed:


Attachments (Terms of Use)
screenshot of the windows explorer window (6.17 KB, image/png)
2013-07-04 12:59 UTC, Ujjwala
no flags Details

Description Ujjwala 2013-07-04 12:59:42 UTC
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):
glusterfs 3.4.0.12rhs.beta1

How reproducible:
Always

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.  

Actual results:
While the new file shows the actual size of the file, the old file is a 0Kb file.

Expected results:
should not create a new file. The same file should be updated.

Additional info:

Comment 5 surabhi 2013-08-07 08:40:02 UTC
The bug is verified in the version glusterfs-3.4.0.16rhs-1.el6rhs.x86_64.

Comment 7 Scott Haines 2013-09-23 22:29:50 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1262.html


Note You need to log in before you can comment on or make changes to this bug.