In d5-file_save_upload files are moved to their destination by file_move(using file_copy) which sets the file permissions to 664 to make it readable by everyone.

In d6-file_save_upload files are moved to their destination by move_uploaded_file which does not change the default permissions(600).

CommentFileSizeAuthor
file.inc_.664.patch556 bytesufku
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drewish’s picture

Status: Needs review » Closed (duplicate)