GNOME Display Manager (gdm) before 2.21.1 allows local users to change permissions of arbitrary directories via a symlink attack on /tmp/.X11-unix/.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2013-4094
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=988498