Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-672

Copying a File sets last modified date to 01 January 1970

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: Utilities
    • Labels:
      None
    • Environment:

      Tomcat, Linux

      Description

      The behaviour is new in 2.7 and worked in 2.6. I tested it out, by switching the library versions.

      I could not exactly indicate, which call is the cause for the behaviour, but it seems it occurs when a file copy / move is done, using FileUtils.

      After copying the file, the destination file has a last modified date of 01.01.1970.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dirk.schreiter Dirk Schreiter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment