Skip to content

URL Upload is uploading files with 600 permission #864

Description

@dotcomUNDERGROUND

URL Upload is uploading files with 600 permission.

File uploads are uploading with the correct 644. Issue is only with URL upload.

As I workaround I converted the code:

        if ($success) {
            $success = rename($temp_file, get_file_path());
        }

To:

        if ($success) {
            chmod($temp_file, 0644); // fix chmod
            $success = rename($temp_file, get_file_path());
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions