Previously (5.x), uploaded files were moved to their destination by file_move that set 0664 for the file. However in current file system no permission is set for the file after the upload. The patch adds this to the file_save_upload function.

CommentFileSizeAuthor
file.inc_.patch542 bytesufku

Comments

drewish’s picture

this is actually older but there's more activity over on #203204: Uploaded files have the permissions set to 600

drewish’s picture

Status: Needs review » Closed (duplicate)