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:
parent
26a4bffd55
commit
c04e12300f
2
gdm.spec
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user