Author: kelnos
Date: 2008-11-08 08:17:00 +0000 (Sat, 08 Nov 2008)
New Revision: 28658

Modified:
   xfce-utils/trunk/scripts/xfconf-migration-4.6.pl.in
Log:
be sure to create $XDG_CONFIG_HOME with only user read/write perms

Modified: xfce-utils/trunk/scripts/xfconf-migration-4.6.pl.in
===================================================================
--- xfce-utils/trunk/scripts/xfconf-migration-4.6.pl.in 2008-11-08 07:11:23 UTC 
(rev 28657)
+++ xfce-utils/trunk/scripts/xfconf-migration-4.6.pl.in 2008-11-08 08:17:00 UTC 
(rev 28658)
@@ -119,7 +119,7 @@
 
     # ensure autostart dir exists
     if(! -d $ENV{'XDG_CONFIG_HOME'}) {
-        mkdir($ENV{'XDG_CONFIG_HOME'}) or warn("Failed to create 
".$ENV{'XDG_CONFIG_HOME'}.": $!");
+        mkdir($ENV{'XDG_CONFIG_HOME'}, 0700) or warn("Failed to create 
".$ENV{'XDG_CONFIG_HOME'}.": $!");
     }
     if(! -d $ENV{'XDG_CONFIG_HOME'}.'/autostart') {
         mkdir($ENV{'XDG_CONFIG_HOME'}.'/autostart') or warn("Failed to create 
".$ENV{'XDG_CONFIG_HOME'}."/autostart: $!");

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to