summaryrefslogtreecommitdiff
path: root/apps/plugins/keybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/keybox.c')
-rw-r--r--apps/plugins/keybox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/keybox.c b/apps/plugins/keybox.c
index f8da40f..c6b060c 100644
--- a/apps/plugins/keybox.c
+++ b/apps/plugins/keybox.c
@@ -584,7 +584,7 @@ static int keybox(void)
if (data_changed)
{
- fd = rb->open(KEYBOX_FILE, O_WRONLY | O_CREAT | O_TRUNC);
+ fd = rb->open(KEYBOX_FILE, O_WRONLY | O_CREAT | O_TRUNC, 0666);
if (fd < 0)
return FILE_OPEN_ERROR;
write_output(fd);