This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the
issue tracker at Github
FS#2895 inc/media.php chmod() operation not permitted
inc/media.php trys to execute chmod on media files like pictures although the file has the permission set in conf $conf['fmode'].
I'm using dokuwiki in 2 website one with mod_php one with fcgi so one of them always fails because the owner of the file isn't correct.
Same bug confirmed on Binky stable (2013-10-28 "Binky"). The problem happens on 2 distinct lines: media.php line 1817 (media_resize_image()) and line 1878 (media_crop_image()).
Strangely enough, there has been no wiki update at the timestamp when they occurred first. Normal editing, using the media manager, does also cause the problem to appear.
should be fixed with