aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-24 02:31:59 +0800
committerDan Winship <danw@src.gnome.org>2000-02-24 02:31:59 +0800
commit721f78b320ad2ac3064fd4102d244f30a74cf255 (patch)
treeb34ac64071fbe7548a66d4a1521c785ab748f485 /e-util
parentae13eeaa1835ccebae6384cdda52e1b28b48b4bf (diff)
downloadgsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar
gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar.gz
gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar.bz2
gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar.lz
gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar.xz
gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.tar.zst
gsoc2013-evolution-721f78b320ad2ac3064fd4102d244f30a74cf255.zip
~/evolution should be mode 700, not 600
svn path=/trunk/; revision=1912
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-setup.c4
1 files changed, 2 insertions, 2 deletions
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;
}