code: private function setCreatePermissions()
      {
          if ($this->config->has('io', 'group'))
              Path::setDefaultFileGroup($this->config->get('io', 'group'));
  
          $file_mode = (int)$this->config->get('io', 'file_mode');
          if ($file_mode)
          {
              $of = $file_mode;
              $file_mode = octdec(sprintf("%04d", $file_mode));
              Path::setDefaultFileMode($file_mode);
          }
  
          $dir_mode = (int)$this->config->get('io', 'dir_mode');
          if ($dir_mode)
          {
              $of = $dir_mode;
              $dir_mode = octdec(sprintf("%04d", $dir_mode));
              Path::setDefaultDirMode($dir_mode);
          }
      }
docs: Configure the create permissions when new files are created by Wedeto.