Ignore:
Timestamp:
Jun 29, 2011, 7:36:41 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/smbd/fileio.c

    r414 r587  
    313313
    314314                if (SMB_VFS_FSTAT(fsp, &fsp->fsp_name->st) == 0) {
    315                         int dosmode;
    316315                        trigger_write_time_update(fsp);
    317                         dosmode = dos_mode(fsp->conn, fsp->fsp_name);
    318                         if ((lp_store_dos_attributes(SNUM(fsp->conn)) ||
    319                                         MAP_ARCHIVE(fsp->conn)) &&
    320                                         !IS_DOS_ARCHIVE(dosmode)) {
    321                                 file_set_dosmode(fsp->conn, fsp->fsp_name,
     316                        if (!fsp->posix_open &&
     317                                        (lp_store_dos_attributes(SNUM(fsp->conn)) ||
     318                                        MAP_ARCHIVE(fsp->conn))) {
     319                                int dosmode = dos_mode(fsp->conn, fsp->fsp_name);
     320                                if (!IS_DOS_ARCHIVE(dosmode)) {
     321                                        file_set_dosmode(fsp->conn, fsp->fsp_name,
    322322                                                 dosmode | aARCH, NULL, false);
     323                                }
    323324                        }
    324325
Note: See TracChangeset for help on using the changeset viewer.