On ?q=admin/user/configure it tries to create the directory %files%/pictures even when I have picture support disabled. Surely this folder should only be created when I have the picture support enabled?
Error in full:
warning: mkdir(files/xxxxxx/pictures): Permission denied in /var/www/html/drupal-4.5.2/includes/file.inc on line 77.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | user_create_image_dir.patch | 1.35 KB | tostinni |
Comments
Comment #1
Uwe Hermann commentedStill applies to HEAD.
Comment #2
tostinni commentedThe path in HEAD is
admin/settings/userHere is a little patch that check first if picture support is enable and then create the path.
Is it so important to check this ?
And I think that your files directory should get write permissions, this is a normal behaviour of Drupal to store its files.
Comment #3
Uwe Hermann commented+1. It's a nice usability improvement, applies cleanly to HEAD, and works as expected.
Comment #4
dries commentedCommitted to HEAD. Thanks.
Comment #5
(not verified) commentedComment #6
(not verified) commented