Skip to content

Access mode change for files created from 0666 to 0600 #8609

Description

@dexterbg

ImageMagick version

7.1.2-16

Operating system

Linux

Operating system, version and so on

AlmaLinux 9.7

Description

Until version 7.1.2-15, files were/are created with mode 0666 & umask, making these usable within a public html directory without any postprocessing (e.g. with umask 0022 resulting in 0644 = group/other readable).

Beginning with version 7.1.2-16, resulting files are created with mode 0600 & umask, thus are no longer readable by group & other by default.

I understand 0666 may be seen as a bug / security issue, but the change means long established scripts & processes relying on the previous behaviour need to be changed as well. To us this came unexpected and lead to issues, probably other users will be affected likewise.

I assume this is the source:
da1385c

I suggest adding some explanatory commentary and public announcement if keeping this change, so users can be aware and fix their processes in advance.

Regards,
Michael

Steps to Reproduce

Any image conversion/scaling.

Images

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions