Bug 446147

Summary: CIFS -- fix setting of DELETE_ON_CLOSE in CreateAndX
Product: Red Hat Enterprise Linux 5 Reporter: Jeff Layton <jlayton>
Component: kernelAssignee: Jeff Layton <jlayton>
Status: CLOSED DUPLICATE QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: low    
Version: 5.3CC: steved
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-23 15:09:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Layton 2008-05-13 00:54:55 UTC
Windows clients do not set the DELETE_ON_CLOSE bit when opening a file with
CreateAndX. They instead do a SET_FILE_INFO call and set the delete on close bit
there.

Some CIFS servers do not handle delete-on-close bit being set in the create
call. It needs to be set in a follow-on SET_FILE_INFO call. Samba apparently
ignores the bit unless you are actually creating the file. Netapp's server also
seems to have problems with the current scheme.

Comment 1 Jeff Layton 2008-05-23 15:09:40 UTC

*** This bug has been marked as a duplicate of 239678 ***