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.
Closed
Fixed
FS#784 Media upload fails to change file permissions
Backend
2006-04-19jvolkman
lib/exe/media.php contains a typo in the media_upload() function which prevents file permissions from being correctly set.
The line:
if($conf['fperm']) chmod($fn, $fperm);
should be:
if($conf['fperm']) chmod($fn, $conf['fperm']);
Also, perhaps 'fperm' should be 'fmode' altogether, since that is the parameter that other things use.