Do not change file modification date & permissions #136

Closed
opened 2026-01-29 20:37:43 +00:00 by claunia · 2 comments
Owner

Originally created by @rugk on GitHub (Aug 14, 2016).

gzip sets the file modification time of the new .gz file to match the original file. Brotli does not do that. Do you consider adding this feature?

GZIP does also inherit the permissions of the original file - in contrast to Brotli.

Tasks:

  • preserve original file modification date
  • preserve original file permissions
Originally created by @rugk on GitHub (Aug 14, 2016). gzip sets the file modification time of the new `.gz` file to match the original file. Brotli does not do that. Do you consider adding this feature? GZIP does also inherit the permissions of the original file - in contrast to Brotli. Tasks: - [x] preserve original file modification date - [x] preserve original file permissions
Author
Owner

@eustas commented on GitHub (Aug 22, 2016):

Going to add this behavior soon.

@eustas commented on GitHub (Aug 22, 2016): Going to add this behavior soon.
Author
Owner

@eustas commented on GitHub (Sep 21, 2016):

Should be "fixed" with PR #431
Though, it is barely minimal implementation,... please check if helps in your case.

@eustas commented on GitHub (Sep 21, 2016): Should be "fixed" with PR #431 Though, it is barely minimal implementation,... please check if helps in your case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#136