Skip to content

Bad file permissions when uploading a file #2808

Closed
@jaimestuardo

Description

@jaimestuardo

I think there is a bug when uploading an image (for example, the logo or product images).

Inside media folder, logo folder is created with 770 permissions. Below it, another folder is created again with 770 permissions. Finally, the image file is created with the same permissions.

I tried a lot to override that behaviour, at operating system level, however, whatever I do, the file is saved with those permissions.

The right is to create folders with 775 permissions, and files with 664 permissions.

Regards
Jaime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions