Hello Max, on my linux server the permissions are not correctly set for new directories.
In function createfolder (inside fns_tinybrowser.php) i changed the mkdir line to include a chmod
update: posted to tinybrowser google-groups
was: // return is_dir($dir) || @mkdir($dir, $perm);
new: return is_dir($dir) || ( @mkdir($dir) && chmod($dir, $perm) );
From php manual:
mkdir(), ... The mode is also modified by the current umask, which you can change using umask().
umask(), ... Avoid using this function in multithreaded webservers. It is better to change the file permissions with chmod() after creating the file.
Using umask() can lead to unexpected behavior of concurrently running scripts and the webserver itself because they all use the same umask.
