Skip to content

[stable31] fix(ZipFolderPlugin): set mtime of directories in archive - #54412

Merged
AndyScherzinger merged 1 commit into
stable31from
backport/54401/stable31
Aug 19, 2025
Merged

[stable31] fix(ZipFolderPlugin): set mtime of directories in archive#54412
AndyScherzinger merged 1 commit into
stable31from
backport/54401/stable31

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #54401

@backportbotbackportbotBot added bug 3. to review Waiting for reviews hotspot: file time handling ctime, mtime, etc. handling during various operations labels Aug 13, 2025
@backportbotbackportbotBot added this to the Nextcloud 31.0.8 milestone Aug 13, 2025
@nextcloud-botnextcloud-bot mentioned this pull request Aug 14, 2025
16 tasks
Directories should also have the correct mtime set and not the current
time. For this the `Streamer` class needs to support passing a time
attribute for creating folders, the underlying library already supports
this.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnuxforce-pushed the backport/54401/stable31 branch from 311572b to e7cc199CompareAugust 14, 2025 10:06
@AndyScherzinger
AndyScherzinger merged commit 9e754ca into stable31Aug 19, 2025
213 of 232 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/54401/stable31 branch August 19, 2025 05:09
@nextcloud-botnextcloud-bot mentioned this pull request Sep 4, 2025
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbughotspot: file time handlingctime, mtime, etc. handling during various operations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@icewind1991@susnux@AndyScherzinger@Altahrim