when calling pake_chmod like pake_chmod('', 'cache/', 0777) then it will fail
output:
chmod 777 cache/cache/
Warning: chmod(): file or directory not found in /usr/share/php/pake/pakeFunction.php:351
as you see it tries to chmod cache/cache/ instead of cache/ which will result phps chmod call to fail
we have discovered that it must relate to the following commit: d600cb1
d600cb1