Bug 446147 - CIFS -- fix setting of DELETE_ON_CLOSE in CreateAndX
Summary: CIFS -- fix setting of DELETE_ON_CLOSE in CreateAndX
Keywords:
Status: CLOSED DUPLICATE of bug 239678
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Jeff Layton
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-13 00:54 UTC by Jeff Layton
Modified: 2014-06-18 07:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-23 15:09:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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