Hi,
I'm using the latest CVS update, with the file engine. In the create_directory() function the line
@chmod($directory, 0775); // Necessary for non-webserver users.
Should read
@chmod($dir, 0775); // Necessary for non-webserver users.
Thank you :)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | file.php_.patch | 3.47 KB | flexer |
| #2 | file.php_.patch | 2.47 KB | flexer |
Comments
Comment #1
flexer commentedBtw, I think that the chmod 775 is a *good* idea (I was going to add the feature myself, when I discovered the bug), but what do you think about also creating the single files with that mask?
Comment #2
flexer commentedI added some minor tweaks (some @s) and cooked a patch that fixes this issue and the other I filed http://drupal.org/node/354554
Hope it will be applied :)
Thank you
Comment #3
flexer commentedI've found another bug in the file engine, when a delete('*') is issued.
(cumulative) Patch attached
Bye :)
Comment #4
slantview commentedApplied to all 3 branches. Will be in next release. Thanks so much.