Closed (won't fix)
Project:
Drupal core
Version:
6.6
Component:
file system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2008 at 08:51 UTC
Updated:
23 Oct 2008 at 10:22 UTC
My server using suPHP.
We had problem with uploading files. It's perrmission set to "0600".
And added following line in "includes/file.inc" after
(line #:572)
if (!move_uploaded_file($_FILES['files']['tmp_name'][$source], $file->filepath)) {
...
}
@chmod($file->filepath, 0664);
(line #:577)
It would be great if you include it drupal core.
Comments
Comment #1
damien tournoud commentedI think this is more a configuration issue. Drupal shouldn't have to worry about that.
See for example: http://www.mail-archive.com/suphp@lists.marsching.biz/msg00616.html