diff options
author | Dan Winship <danw@src.gnome.org> | 2000-02-24 02:31:59 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-02-24 02:31:59 +0800 |
commit | 721f78b320ad2ac3064fd4102d244f30a74cf255 (patch) | |
tree | b34ac64071fbe7548a66d4a1521c785ab748f485 | |
parent | ae13eeaa1835ccebae6384cdda52e1b28b48b4bf (diff) | |
download | gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar.gz gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar.zst gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.zip |
~/evolution should be mode 700, not 600
svn path=/trunk/; revision=1912
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-setup.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -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; } |