Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Typo: pointing to CHMOD instead of CHMOD_VALUE, applying chmod failed…
Browse files Browse the repository at this point in the history
… for files.
  • Loading branch information
cdujeu committed Feb 22, 2014
1 parent f4808c2 commit e079639
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/src/plugins/access.fs/class.fsAccessDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function initRepository()
$create = $this->repository->getOption("CREATE");
$path = $this->repository->getOption("PATH");
$recycle = $this->repository->getOption("RECYCLE_BIN");
$chmod = $this->repository->getOption("CHMOD");
$chmod = $this->repository->getOption("CHMOD_VALUE");
$wrapperData = $this->detectStreamWrapper(true);
$this->wrapperClassName = $wrapperData["classname"];
$this->urlBase = $wrapperData["protocol"]."://".$this->repository->getId();
Expand Down Expand Up @@ -619,7 +619,7 @@ public function switchAction($action, $httpVars, $fileVars)
$repoData = array(
'base_url' => $this->urlBase,
'wrapper_name' => $this->wrapperClassName,
'chmod' => $this->repository->getOption('CHMOD'),
'chmod' => $this->repository->getOption('CHMOD_VALUE'),
'recycle' => $this->repository->getOption('RECYCLE_BIN')
);
$this->logDebug("Upload Files Data", $fileVars);
Expand Down Expand Up @@ -1522,7 +1522,7 @@ public function copyOrMove($destDir, $selectedFiles, &$error, &$success, $move =
$repoData = array(
'base_url' => $this->urlBase,
'wrapper_name' => $this->wrapperClassName,
'chmod' => $this->repository->getOption('CHMOD'),
'chmod' => $this->repository->getOption('CHMOD_VALUE'),
'recycle' => $this->repository->getOption('RECYCLE_BIN')
);

Expand Down Expand Up @@ -1643,7 +1643,7 @@ public function createEmptyFile($crtDir, $newFileName, $content = "")
$repoData = array(
'base_url' => $this->urlBase,
'wrapper_name' => $this->wrapperClassName,
'chmod' => $this->repository->getOption('CHMOD'),
'chmod' => $this->repository->getOption('CHMOD_VALUE'),
'recycle' => $this->repository->getOption('RECYCLE_BIN')
);
$fp=fopen($this->urlBase."$crtDir/$newFileName","w");
Expand All @@ -1667,7 +1667,7 @@ public function delete($selectedFiles, &$logMessages)
$repoData = array(
'base_url' => $this->urlBase,
'wrapper_name' => $this->wrapperClassName,
'chmod' => $this->repository->getOption('CHMOD'),
'chmod' => $this->repository->getOption('CHMOD_VALUE'),
'recycle' => $this->repository->getOption('RECYCLE_BIN')
);
$mess = ConfService::getMessages();
Expand Down

0 comments on commit e079639

Please sign in to comment.