Bug 493962 - samba needs patch to make it so that POSIX opens work correctly
Summary: samba needs patch to make it so that POSIX opens work correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: samba
Version: 4.8
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Guenther Deschner
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 493728 740832 743467
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-03 13:44 UTC by Jeff Layton
Modified: 2014-06-18 07:38 UTC (History)
16 users (show)

Fixed In Version: samba-3.0.33-0.25.el4
Doc Type: Bug Fix
Doc Text:
A Samba server had no way of knowing that an operation performed by the kernel CIFS client was in fact a file creation. As a result, the "force create mode" (which sets permissions of a file during its creation) was never initiated and appeared to be broken. The file creation was handled by a POSIX open call and to Samba the file creation then appeared as a simple 'chmod' operation. By using the POSIX open call in the samba client, the server can now properly recognize the file creation and apply the "force create mode". Note: This issue was fixed on the server part of Red Hat Enterprise Linux 4, however, this issue remains broken on the client part. Therefore, the "force create mode" works properly on Red Hat Enterprise Linux 4 systems with newer clients (for example, Red Hat Enterprise Linux 5).
Clone Of: 493728
Environment:
Last Closed: 2011-02-16 14:22:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0242 0 normal SHIPPED_LIVE samba bug fix and enhancement update 2011-02-15 16:34:56 UTC

Comment 16 Martin Prpič 2011-02-16 13:21:22 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
A Samba server had no way of knowing that an operation performed by the kernel CIFS client was in fact a file creation. As a result, the "force create mode" (which sets permissions of a file during its creation) was never initiated and appeared to be broken. The file creation was handled by a POSIX open call and to Samba the file creation then appeared as a simple 'chmod' operation. By using the POSIX open call in the samba client, the server can now properly recognize the file creation and apply the "force create mode". Note: This issue was fixed on the server part of Red Hat Enterprise Linux 4, however, this issue remains broken on the client part. Therefore, the "force create mode" works properly on Red Hat Enterprise Linux 4 systems with newer clients (for example, Red Hat Enterprise Linux 5).

Comment 17 errata-xmlrpc 2011-02-16 14:22:22 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0242.html


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