summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fish/fish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/fish.c b/fish/fish.c
index 41f61ca2..1c3d583b 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -1436,7 +1436,7 @@ cleanup_readline (void)
int fd;
if (histfile[0] != '\0') {
- fd = open (histfile, O_WRONLY|O_CREAT, 0644);
+ fd = open (histfile, O_WRONLY|O_CREAT, 0600);
if (fd == -1) {
perror (histfile);
return;