aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--e-util/e-setup.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 26434723a3..74aeb7cecb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-23 Dan Winship <danw@helixcode.com>
+
+ * e-util/e-setup.c (e_setup_base_dir): Make ~/evolution mode 700
+ rather than mode 600 (and use the symbolic name rather than the
+ number).
+
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* shell/Makefile.am (evolution_LDADD):
diff --git a/e-util/e-setup.c b/e-util/e-setup.c
index 20d9eee813..28a43e3a22 100644
--- a/e-util/e-setup.c
+++ b/e-util/e-setup.c
@@ -25,7 +25,7 @@ e_setup_base_dir (void)
evolution_dir = g_concat_dir_and_file (g_get_home_dir (), "evolution");
if (stat (evolution_dir, &s) == -1){
- if (mkdir (evolution_dir, 0600) == -1){
+ if (mkdir (evolution_dir, S_IRWXU) == -1){
return FALSE;
}
} else {
@@ -44,7 +44,7 @@ e_setup_base_dir (void)
}
evolution_folders_dir = g_concat_dir_and_file (evolution_dir, "folders");
- mkdir (evolution_folders_dir, 0600);
+ mkdir (evolution_folders_dir, S_IRWXU);
return TRUE;
}