Skip to content

pake_chmod does double up directory #27

@Woellchen

Description

@Woellchen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions