Skip to content

Commit

Permalink
Merge pull request #36 from themsaid/pr26074
Browse files Browse the repository at this point in the history
Copy application files and preserve permissions
  • Loading branch information
taylorotwell authored Feb 12, 2020
2 parents 8acc858 + 13913fb commit b5499f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BuildProcess/CopyApplicationToBuildPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())
);
}

/**
Expand Down

0 comments on commit b5499f1

Please sign in to comment.