summaryrefslogtreecommitdiff
path: root/mail/evolution/patches/patch-ah
blob: b96d863350cdc7ed6c3c2d47fc136442bb552bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ah,v 1.3 2002/03/16 07:31:26 rh Exp $

--- shell/e-setup.c.orig	Sat Mar 16 14:26:48 2002
+++ shell/e-setup.c
@@ -210,6 +210,18 @@
 		retval = TRUE;
 	}
 
+	command = g_strconcat ("chmod -R u+w ",
+			       evolution_directory,
+			       NULL);
+
+	if (system (command) != 0) {
+		e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
+			  _("An error occurred changing mode of\n`%s'."), evolution_directory);
+		retval = FALSE;
+	} else {
+		retval = TRUE;
+	}
+
 	/* Temporary block of code to keep it from using the older
            shortcuts.xml that exists for current users in
            $GNOME/share/evolution/default_user.  Remove this by 1.0 */