Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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).
Comment | File | Size | Author |
---|---|---|---|
file.inc_.664.patch | 556 bytes | ufku | |
Comments
Comment #1
drewish CreditAttribution: drewish commentedsee #203204: Uploaded files have the permissions set to 600