title: Phpmyadmin 4.9.5 -> The $cfg['TempDir'] (/var/lib/phpmyadmin/tmp/) is not accessible, even though it exists and has corrent permission
body: <p>Hi I am having trouble with phpmyadmin.
  It is basicly a fresh installed version. I cannot figure out why this does not work. I did not modify any of the files yet.</p>
  <p>It show following error messages when logged in:</p>
  <pre><code>The configuration file now needs a secret passphrase (blowfish_secret).
  
  The $cfg['TempDir'] (/var/lib/phpmyadmin/tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.
  </code></pre>
  <p><code>stat /var/lib/phpmyadmin/tmp</code></p>
  <pre><code>File: /var/lib/phpmyadmin/tmp
    Size: 4096            Blocks: 8          IO Block: 4096   directory
  Device: 803h/2051d      Inode: 170769      Links: 3
  Access: (0777/drwxrwxrwx)  Uid: (   33/www-data)   Gid: (   33/www-data)
  Access: 2020-09-07 02:26:51.239765744 +0200
  Modify: 2020-06-26 03:45:53.392552054 +0200
  Change: 2020-09-07 02:34:01.222889412 +0200
   Birth: -
  
  </code></pre>
  <p>As mentioned above I did not modify blowfish secret or any other files
  <code>ls  /var/lib/phpmyadmin/ </code></p>
  <pre><code>blowfish_secret.inc.php  tmp
  </code></pre>
  <p>Also the configuration file looks correct. I even tried to change the path a little bit to see if it has any effect and is the correct configuration file.  It shows the same error but with the new path.</p>
  <p><code>sudo nano /usr/share/phpmyadmin/libraries/vendor_config.php</code></p>
  <pre><code>
  /* vim: set expandtab sw=4 ts=4 sts=4: */
  /**
   * File for vendor customisation, you can change here paths or some behaviour,
   * which vendors such as Linux distributions might want to change.
   *
   * For changing this file you should know what you are doing. For this reason
   * options here are not part of normal configuration.
   *
   * @package PhpMyAdmin
   */
  if (! defined('PHPMYADMIN')) {
      exit;
  }
  
  /**
   * Path to vendor autoload file. Useful when you want to
   * have have vendor dependencies somewhere else.
   */
  define('AUTOLOAD_FILE', './autoload.php');
  
  /**
   * Directory where cache files are stored.
   */
  define('TEMP_DIR', '/var/lib/phpmyadmin/tmp/');
  
  /**
   * Path to changelog file, can be gzip compressed. Useful when you want to
   * have documentation somewhere else, eg. /usr/share/doc.
   */
  define('CHANGELOG_FILE', '/usr/share/doc/phpmyadmin/changelog.gz');
  
  /**
   * Path to license file. Useful when you want to have documentation somewhere
   * else, eg. /usr/share/doc.
   */
  define('LICENSE_FILE', '/usr/share/doc/phpmyadmin/copyright');
  
  /**
   * Directory where SQL scripts to create/upgrade configuration storage reside.
   */
  define('SQL_DIR', './sql/');
  
  /**
   * Directory where configuration files are stored.
   * It is not used directly in code, just a convenient
   * define used further in this file.
   */
  define('CONFIG_DIR', '/etc/phpmyadmin/');
  
  /**
   * Filename of a configuration file.
   */
  define('CONFIG_FILE', CONFIG_DIR . 'config.inc.php');
  
  /**
   * Filename of custom header file.
   */
  define('CUSTOM_HEADER_FILE', CONFIG_DIR . 'config.header.inc.php');
  
  /**
   * Filename of custom footer file.
   */
  define('CUSTOM_FOOTER_FILE', CONFIG_DIR . 'config.footer.inc.php');
  
  /**
  
  </code></pre>