diff options
Diffstat (limited to '')
-rw-r--r-- | libcontacts_save_contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcontacts_save_contact.c b/libcontacts_save_contact.c index b82a485..2e64c4a 100644 --- a/libcontacts_save_contact.c +++ b/libcontacts_save_contact.c @@ -51,7 +51,7 @@ libcontacts_save_contact(struct libcontacts_contact *contact, const struct passw tmppath = alloca(strlen(path) + sizeof("~")); stpcpy(stpcpy(tmppath, path), "~"); - fd = open(tmppath, oflags, 0644); + fd = open(tmppath, oflags, 0666); if (fd < 0) { if ((oflags & O_EXCL) && errno == EEXIST) { if (!num++) { |