From c04e12300fba3a3b59af18163de5e1f285756427 Mon Sep 17 00:00:00 2001 From: Matej Habrnal Date: Wed, 8 Nov 2017 10:41:11 +0100 Subject: [PATCH] Use colon instead of dot in chown This is done because of security reason. There can be user "gdm.gdm" and the chown change only username not username and group. Signed-off-by: Matej Habrnal --- gdm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdm.spec b/gdm.spec index 018fc7a..e89da65 100644 --- a/gdm.spec +++ b/gdm.spec @@ -217,7 +217,7 @@ fi # 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 || : +chown gdm:gdm -R /var/lib/gdm/.local /var/lib/gdm/.local/share || : %preun %systemd_preun gdm.service