wp-config.php file permissions

Which file and directory permissions should I set on a new WordPress/LAMP installation?

There is no definite answer to this. It varies depending on the server setup. The rule of thumb is to use the minimal permission to make WordPress work on a server. This means to start with 400 (or 600) and go from there, until WP works.