Lshell: Fix for crash on wildcard cd.
Set strict permissions on some important config files.