Skip to content

Commit 13913fb

Browse files
committed
copy application files and preserve permissions
1 parent 8acc858 commit 13913fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/BuildProcess/CopyApplicationToBuildPath.php

+5
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ protected function createFileForCopy(SplFileInfo $file)
5858
$file->getRealPath(),
5959
$this->appPath.'/'.$file->getRelativePathname()
6060
);
61+
62+
$this->files->chmod(
63+
$this->appPath.'/'.$file->getRelativePathname(),
64+
fileperms($file->getRealPath())
65+
);
6166
}
6267

6368
/**

0 commit comments

Comments
 (0)