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).
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