[PC-BSD Commits] r17966 - pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Thu Jul 26 13:53:20 PDT 2012


Author: kris
Date: 2012-07-26 20:53:20 +0000 (Thu, 26 Jul 2012)
New Revision: 17966

Modified:
   pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/set-lang.sh
Log:

Disable the adjusting to the gdm/home dir, causes issues with i18n users



Modified: pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/set-lang.sh
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/set-lang.sh	2012-07-26 20:33:43 UTC (rev 17965)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/scripts/set-lang.sh	2012-07-26 20:53:20 UTC (rev 17966)
@@ -7,6 +7,10 @@
 
 echo "$1" >/usr/local/share/pcbsd/conf/system-lang
 
+# Don't do the GDM settings for now, causes issues with GDM not being able to login
+# due to wonky permissions for the /usr/local/etc/gdm/home dir
+exit 0
+
 # Get the full language code
 echo "$1" | grep -q "_"
 if [ $? -eq 0 ] ; then
@@ -37,4 +41,8 @@
 
 # Set the permissions properly
 chown -R gdm:gdm /usr/local/etc/gdm/home
-chmod -R 600 /usr/local/etc/gdm/home
+chmod 700 /usr/local/etc/gdm/home/.gconf
+chmod 700 /usr/local/etc/gdm/home/.gconf/apps
+chmod 700 /usr/local/etc/gdm/home/.gconf/apps/gdm
+chmod 700 /usr/local/etc/gdm/home/.gconf/apps/gdm/simple-greeter
+chmod -R 600 /usr/local/etc/gdm/home/.gconf/apps/gdm/simple-greeter/%gconf.xml



More information about the Commits mailing list