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 <mhabrnal@redhat.com>
This commit is contained in:
Matej Habrnal 2017-11-08 10:41:11 +01:00
parent 26a4bffd55
commit c04e12300f

View File

@ -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