diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-01-30 11:47:27 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-01-30 11:47:27 +0300 |
commit | 68cabf94007daf6a943dcae852bc928871145360 (patch) | |
tree | 5820b5ec4254bed3779cbba454d73202396af1d4 /lib/Migration | |
parent | adbc025aac91a31f3fee82a84abcb4b232ec6aed (diff) |
Pass a real octal num to chmod
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/MakeItineraryExtractorExecutable.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Migration/MakeItineraryExtractorExecutable.php b/lib/Migration/MakeItineraryExtractorExecutable.php index 88831cc3b..93d26bd32 100644 --- a/lib/Migration/MakeItineraryExtractorExecutable.php +++ b/lib/Migration/MakeItineraryExtractorExecutable.php @@ -63,7 +63,7 @@ class MakeItineraryExtractorExecutable implements IRepairStep { return; } try { - if (!@chmod($this->file, 744)) { + if (!@chmod($this->file, 0744)) { throw new Exception('chmod returned false'); } } catch (Throwable $e) { |