diff --git a/ChangeLog b/ChangeLog index 261a6fbc6..2cec21484 100644 --- a/ChangeLog +++ b/ChangeLog @@ -89,6 +89,7 @@ danbarry - bug #2066923 [display] Navi browse icon does not go to page 1 - patch #2075263 [auth] Single sign-on and cookie clearing, thanks to Charles Suh - cws125 +- [doc] better documentation of $cfg['TempDir'] 2.11.9.0 (2008-08-28) - bug #2031221 [auth] Links to version number on login screen diff --git a/Documentation.html b/Documentation.html index 6005af70a..f505954ea 100644 --- a/Documentation.html +++ b/Documentation.html @@ -1767,11 +1767,48 @@ $cfg['TrustedProxies'] =
index.html
file there, so that directory listing is not
+ possible.
+ +chown www-data:www-data tmp +chmod 700 tmp ++ + If you can not change owner of the directory, you can achieve similar + setup using ACL: + +
+chmod 700 tmp +setfacl -m "g:www-data:rwx" tmp +setfacl -d -m "g:www-data:rwx" tmp ++ + If neither of above works for you, you can still make the directory +
chmod 777
, but it might impose risk of other users on
+ system reading and writing data in this directory.
Since version 2.2.4, phpMyAdmin supports servers with open_basedir - restrictions. Assuming that the restriction allows you to open files in the - current directory ('.'), all you have to do is create a 'tmp' directory - under the phpMyAdmin install directory, with permissions 777 and the same - owner as the owner of your phpMyAdmin directory. The uploaded files will - be moved there, and after execution of your + restrictions. However you need to create temporary directory and + configure it as $cfg['TempDir']. + The uploaded files will be moved there, and after execution of your SQL commands, removed.