Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-01-30 11:47:27 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-01-30 11:47:27 +0300
commit68cabf94007daf6a943dcae852bc928871145360 (patch)
tree5820b5ec4254bed3779cbba454d73202396af1d4 /lib/Migration
parentadbc025aac91a31f3fee82a84abcb4b232ec6aed (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.php2
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) {