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());
}
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:
To: