[PC-BSD Commits] r17140 - pcbsd/current/src-qt4/pc-netmanager/src/wificonfig

svn at pcbsd.org svn at pcbsd.org
Fri Jun 1 09:23:31 PDT 2012


Author: kris
Date: 2012-06-01 16:23:29 +0000 (Fri, 01 Jun 2012)
New Revision: 17140

Modified:
   pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp
Log:

chmod 600 on /etc/wpa_supplicant.conf by default



Modified: pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp	2012-06-01 15:57:44 UTC (rev 17139)
+++ pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wificonfigwidgetbase.cpp	2012-06-01 16:23:29 UTC (rev 17140)
@@ -273,6 +273,8 @@
     if ( ! WPAONLY )
       NetworkInterface::restart(); 
 
+    system("chmod 600 /etc/wpa_supplicant.conf");
+
     buttonCancel->setEnabled(false);
     buttonCancel->setEnabled(true);
     pushApply->setEnabled(FALSE);



More information about the Commits mailing list