Fix bin/manage rights on new project
This commit is contained in:
parent
e550c345cf
commit
fc29012dce
2 changed files with 2 additions and 0 deletions
0
skel/bin/manage
Normal file → Executable file
0
skel/bin/manage
Normal file → Executable file
|
@ -290,6 +290,8 @@ class Cli {
|
||||||
if (!copy($item, $path))
|
if (!copy($item, $path))
|
||||||
die("Fail to copy file to $path\n");
|
die("Fail to copy file to $path\n");
|
||||||
}
|
}
|
||||||
|
if (!chmod($path, $item->getPerms()))
|
||||||
|
die("Fail to chmod file $path\n");
|
||||||
}
|
}
|
||||||
echo "done. Start coding!\n";
|
echo "done. Start coding!\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue