Falko Timme
2014-12-05 1fa8f425b71db332a03ceef2d1e165083d0ba241
server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -541,7 +541,7 @@
               // delete dir
               if(substr($homedir, -1) !== '/') $homedir .= '/';
               $files = array('.bash_logout', '.bash_history', '.bashrc', '.profile');
               $dirs = array('.ssh');
               $dirs = array('.ssh', '.cache');
               foreach($files as $delfile) {
                  if(is_file($homedir . $delfile) && fileowner($homedir . $delfile) == $userid) unlink($homedir . $delfile);
               }