summaryrefslogtreecommitdiff
path: root/x11/kdebase3/patches/patch-bb
blob: 4aaa547619bfe7fed43e0e650d7c9e866909c29e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-bb,v 1.3 2004/02/04 14:25:59 markd Exp $

--- kdesktop/init.cc.orig	2003-02-20 21:51:34.000000000 +1300
+++ kdesktop/init.cc
@@ -81,6 +81,9 @@ static void copyDirectoryFile(const QStr
     cmd += " ";
     cmd += KProcess::quote(dir+"/.directory");
     system( QFile::encodeName(cmd) );
+    cmd = "chmod u+w ";
+    cmd += KProcess::quote(dir+"/.directory");
+    system( QFile::encodeName(cmd) );
   }
 }
 
@@ -107,6 +110,9 @@ void copyDesktopLinks()
 	cmd += " ";
 	cmd += QFile::encodeName(KProcess::quote(desktopPath + desk.readName()));
 	system( cmd );
+	cmd = "chmod u+w ";
+	cmd += QFile::encodeName(KProcess::quote(desktopPath + desk.readName()));
+	system( cmd );
     }
 }