ajaxplorerでフォルダ(ディレクトリ)作成時のパーミッションを0777にする
plugins/access.fs/class.fsAccessDriver.php
にフォルダ(ディレクトリ)を作成する関数
function mkDir($crtDir, $newDirName)
がありますのでこれを編集します。
以下の「ここから」 「ここまで」の間が追記した部分です。
<?php function mkDir($crtDir, $newDirName) { $mess = ConfService::getMessages(); if($newDirName=="") { return "$mess[37]"; } if(file_exists($this->getPath()."/$crtDir/$newDirName")) { return "$mess[40]"; } if(!is_writable($this->getPath()."/$crtDir")) { return $mess[38]." $crtDir ".$mess[99]; } $dirMode = 0775; $chmodValue = $this->repository->getOption("CHMOD_VALUE"); if(isSet($chmodValue) && $chmodValue != "") { $dirMode = octdec(ltrim($chmodValue, "0")); if ($dirMode & 0400) $dirMode |= 0100; // User is allowed to read, allow to list the directory if ($dirMode & 0040) $dirMode |= 0010; // Group is allowed to read, allow to list the directory if ($dirMode & 0004) $dirMode |= 0001; // Other are allowed to read, allow to list the directory } mkdir($this->getPath()."/$crtDir/$newDirName", $dirMode); //ここから chmod($this->getPath()."/$crtDir/$newDirName", 0777); //ここまで return null; } ?>
普通にchmodするだけです。