[Pkg-xfce-commits] r4637 - goodies/trunk/lightdm/debian/patches

Yves-Alexis Perez corsac at alioth.debian.org
Mon Dec 6 11:07:58 UTC 2010


Author: corsac
Date: 2010-12-06 11:07:55 +0000 (Mon, 06 Dec 2010)
New Revision: 4637

Added:
   goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch
Modified:
   goodies/trunk/lightdm/debian/patches/series
Log:
fix ownership on dmrc file


Added: goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch	                        (rev 0)
+++ goodies/trunk/lightdm/debian/patches/05_fix-ownership-dmrc.patch	2010-12-06 11:07:55 UTC (rev 4637)
@@ -0,0 +1,11 @@
+=== modified file 'src/display.c'
+--- lightdm/src/display.c	2010-11-17 03:23:08 +0000
++++ lightdm/src/display.c	2010-12-04 22:59:01 +0000
+@@ -486,6 +486,7 @@
+             {
+                 path = g_build_filename (user_info->pw_dir, ".dmrc", NULL);
+                 g_file_set_contents (path, data, length, NULL);
++                chown(path, user_info->pw_uid, user_info->pw_gid);
+                 g_free (path);
+             }
+ 

Modified: goodies/trunk/lightdm/debian/patches/series
===================================================================
--- goodies/trunk/lightdm/debian/patches/series	2010-12-06 11:07:25 UTC (rev 4636)
+++ goodies/trunk/lightdm/debian/patches/series	2010-12-06 11:07:55 UTC (rev 4637)
@@ -2,3 +2,4 @@
 02_default-config.patch
 03_fix-xauthority-perms.patch
 04_fix_xauthority-path.patch
+05_fix-ownership-dmrc.patch




More information about the Pkg-xfce-commits mailing list