https://bugs.kde.org/show_bug.cgi?id=450125

            Bug ID: 450125
           Summary: When extracting ZIPs with empty folders, access time
                    is set to future (year 4443302 or 4444523)
           Product: ark
           Version: 21.12.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plugins
          Assignee: rthoms...@gmail.com
          Reporter: nyanpas...@tuta.io
                CC: aa...@kde.org, elvis.angelac...@kde.org
  Target Milestone: ---

SUMMARY
When I extract a ZIP, and a folder contains no files (is empty or only contains
folders), the folder's access time is set in the future.

(4444523-03-02 04:58:56.000000000 -0800)

STEPS TO REPRODUCE
1. Download the attached .zip file.
2. Open it in Ark and extract all. Alternatively, extract it using Dolphin's
"Extract archive here, autodetect subfolder".
3. Run `stat folders-only`. Optionally check `folders-only/empty` and
`folders-only/has-files` as well.
4. Try viewing the folder in Wine.

OBSERVED RESULT
When extracting folders without files inside, their access time is in the
future. If extracted in Ark, the access time is 4443302-06-30
03:35:44.000000000 -0700. If extracted using Dolphin, the access time is
4444521-01-12 12:13:04.000000000 -0800.

Wine applications cannot access the contents of folders with access times past
2038, failing with errno 75 EOVERFLOW. I think this is a Wine bug.

EXPECTED RESULT
The access time of folders without files inside is reasonable.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.8-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2

ADDITIONAL INFORMATION
I think this does not happen when extracting .tar.gz or .7z files.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to