Ignore:
Timestamp:
Nov 26, 2007, 9:24:27 AM (18 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.27a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/smbd/open.c

    r44 r105  
    19401940        const char *dirname;
    19411941        NTSTATUS status;
     1942        BOOL posix_open = False;
    19421943
    19431944        if(!CAN_WRITE(conn)) {
     
    19581959
    19591960        if (file_attributes & FILE_FLAG_POSIX_SEMANTICS) {
     1961                posix_open = True;
    19601962                mode = (mode_t)(file_attributes & ~FILE_FLAG_POSIX_SEMANTICS);
    19611963        } else {
     
    19801982                          name));
    19811983                return NT_STATUS_ACCESS_DENIED;
     1984        }
     1985
     1986        if (lp_store_dos_attributes(SNUM(conn))) {
     1987                if (!posix_open) {
     1988                        file_set_dosmode(conn, name,
     1989                                 file_attributes | aDIR, NULL,
     1990                                 parent_dir);
     1991                }
    19821992        }
    19831993
Note: See TracChangeset for help on using the changeset viewer.