#include <stdio.h>
#include <stdlib.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
struct hash_table_t *hash_table;
char *bash_histsize;
+ /* Group and others have no access to created files */
+ umask(S_IRWXG | S_IRWXO);
+
if(!isatty(STDIN_FILENO)) {
fprintf(stderr, "selector: The standard input is not a tty.\n");
exit(EXIT_FAILURE);