Fix permission bug
This commit is contained in:
parent
a10d099789
commit
76280b0d23
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ function runBuildStage(string $buildId, string $projectID, Database $database):
|
|||
}
|
||||
|
||||
if (!\file_exists('/tmp/project-' . $projectID . '/' . $build->getId() . '/builtCode')) {
|
||||
if (!\mkdir('/tmp/project-' . $projectID . '/' . $build->getId() . '/builtCode', 0755, true)) {
|
||||
if (!\mkdir('/tmp/project-' . $projectID . '/' . $build->getId() . '/builtCode', 0777, true)) {
|
||||
throw new Exception('Can\'t create directory /tmp/project-' . $projectID . '/' . $build->getId() . '/builtCode');
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue