Closed (duplicate)
Project:
Drupal core
Version:
6.1
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2008 at 23:42 UTC
Updated:
16 Apr 2008 at 04:57 UTC
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 commentedsee #203204: Uploaded files have the permissions set to 600