diff --git a/src/BuildProcess/CopyApplicationToBuildPath.php b/src/BuildProcess/CopyApplicationToBuildPath.php index 70307ca5..ba8b6847 100644 --- a/src/BuildProcess/CopyApplicationToBuildPath.php +++ b/src/BuildProcess/CopyApplicationToBuildPath.php @@ -58,6 +58,11 @@ protected function createFileForCopy(SplFileInfo $file) $file->getRealPath(), $this->appPath.'/'.$file->getRelativePathname() ); + + $this->files->chmod( + $this->appPath.'/'.$file->getRelativePathname(), + fileperms($file->getRealPath()) + ); } /**