original_string: public static function getErrorMessageMissingPermissions($path)
      {
          $message = "Please check that the web server has enough permission to write to these files/directories:<br />";
  
          if (SettingsServer::isWindows()) {
              $message .= "On Windows, check that the folder is not read only and is writable.\n
  						You can try to execute:<br />";
          } else {
              $message .= "For example, on a GNU/Linux server if your Apache httpd user is "
                          . Common::sanitizeInputValue(self::getUser())
                          . ", you can try to execute:<br />\n"
                          . "<code>chown -R ". Common::sanitizeInputValue(self::getUserAndGroup()) ." " . Common::sanitizeInputValue($path) . "</code><br />";
          }
  
          $message .= self::getMakeWritableCommand($path);
  
          return $message;
      }
code: public static function getErrorMessageMissingPermissions($path)
      {
          $message = "Please check that the web server has enough permission to write to these files/directories:<br />";
  
          if (SettingsServer::isWindows()) {
              $message .= "On Windows, check that the folder is not read only and is writable.\n
  						You can try to execute:<br />";
          } else {
              $message .= "For example, on a GNU/Linux server if your Apache httpd user is "
                          . Common::sanitizeInputValue(self::getUser())
                          . ", you can try to execute:<br />\n"
                          . "<code>chown -R ". Common::sanitizeInputValue(self::getUserAndGroup()) ." " . Common::sanitizeInputValue($path) . "</code><br />";
          }
  
          $message .= self::getMakeWritableCommand($path);
  
          return $message;
      }
code_tokens: public static function getErrorMessageMissingPermissions ( $ path ) { $ message = "Please check that the web server has enough permission to write to these files/directories:<br />" ; if ( SettingsServer :: isWindows ( ) ) { $ message .= "On Windows, check that the folder is not read only and is writable.\n
  						You can try to execute:<br />" ; } else { $ message .= "For example, on a GNU/Linux server if your Apache httpd user is " . Common :: sanitizeInputValue ( self :: getUser ( ) ) . ", you can try to execute:<br />\n" . "<code>chown -R " . Common :: sanitizeInputValue ( self :: getUserAndGroup ( ) ) . " " . Common :: sanitizeInputValue ( $ path ) . "</code><br />" ; } $ message .= self :: getMakeWritableCommand ( $ path ) ; return $ message ; }
docstring: Returns friendly error message explaining how to fix permissions
  
  @param string $path to the directory missing permissions
  @return string  Error message
docstring_tokens: Returns friendly error message explaining how to fix permissions