Project

General

Profile

Actions

Bug #5993

closed

SMB server fails setting dates earlier than 1970

Added by Gordon Ross almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2015-06-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Windows applications may ask to set file dates earlier than 1970, and that currently causes the smb "set attributes" code to bubble up an error.
It should instead "do the best it can", by storing the oldest date is knows how to represent.
That's not perfect, but it's better than returning an error.
Applications appear to tolerate this.

Actions #1

Updated by Electric Monk almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit b6f078ed90209a1b0e143e0abd10e14a6a2a7397

commit  b6f078ed90209a1b0e143e0abd10e14a6a2a7397
Author: Gordon Ross <gwr@nexenta.com>
Date:   2015-06-13T17:27:15.000Z

    5993 SMB server fails setting dates earlier than 1970
    Reviewed by: Bayard Bell <Bayard.Bell@nexenta.com>
    Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
    Reviewed by: Matt Barden <matt.barden@nexenta.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF