rstrode pushed to gdm (master). "Fix permissions on /var/lib/gdm/.local/share (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 7 18:40:09 UTC 2015


>From 45a0c7de1989f14711337a6939b66845295479d4 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode at redhat.com>
Date: Tue, 7 Apr 2015 14:38:35 -0400
Subject: Fix permissions on /var/lib/gdm/.local/share

Fixes starting Xorg without root on machines that started out
as Fedora 15 machines.

diff --git a/gdm.spec b/gdm.spec
index f40c5ee..ad37b65 100644
--- a/gdm.spec
+++ b/gdm.spec
@@ -11,7 +11,7 @@
 Summary: The GNOME Display Manager
 Name: gdm
 Version: 3.16.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: User Interface/X
@@ -221,6 +221,10 @@ fi
 
 %systemd_post gdm.service
 
+# work around bug introduced in gdm 3.0/fedora 15 that some users
+# have been dragging along from release to release
+chown gdm.gdm -R /var/lib/gdm/.local /var/lib/gdm/.local/share || :
+
 %preun
 %systemd_preun gdm.service
 
@@ -296,6 +300,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 %{_libdir}/pkgconfig/gdm.pc
 
 %changelog
+* Tue Apr 07 2015 Ray Strode <rstrode at redhat.com> 3.16.0.1-3
+- Fix permissions on /var/lib/gdm/.local/share
+- Fixes starting Xorg without root on machines that started out
+  as Fedora 15 machines.
+
 * Fri Mar 27 2015 Ray Strode <rstrode at redhat.com> 3.16.0.1-2
 - set XORG_RUN_AS_USER_OK in environment
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gdm.git/commit/?h=master&id=45a0c7de1989f14711337a6939b66845295479d4


More information about the scm-commits mailing list