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

Copying a File sets last modified date to 01 January 1970

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • None
    • Utilities
    • None
    • 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

            Unassigned Unassigned
            dirk.schreiter Dirk Schreiter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: