[PC-BSD Commits] r18619 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Mon Aug 27 09:11:00 PDT 2012


Author: kris
Date: 2012-08-27 16:11:00 +0000 (Mon, 27 Aug 2012)
New Revision: 18619

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Update pbi-manager, now when we save desktop / menu icons, set them
to permissions 744, which fixes issues with KDE and GNOME flagging them
initially as "unsecure". 



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-27 09:18:38 UTC (rev 18618)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-27 16:11:00 UTC (rev 18619)
@@ -3698,6 +3698,9 @@
 		| sed "s|%%PBI_APPDIR%%|$PBI_PROGDIRPATH|g" \
 		> "${dir}/PBI-${i}"
 
+		# Set the correct permissions on the desktop file
+		chmod 744 "${dir}/${PBI}-${i}"
+
 		ifi="$PBI_PROGDIRPATH/${PBI_APPDESK_DIR}/PBI-${i}"
 
 		echo "xdg-desktop-icon install --novendor ${ifi}" \
@@ -3739,6 +3742,9 @@
 		| sed "s|%%PBI_APPDIR%%|$PBI_PROGDIRPATH|g" \
 		> "${dir}/PBI-${i}"
 
+		# Set the correct permissions on the menu file
+		chmod 744 "${dir}/${PBI}-${i}"
+
 		ifi="$PBI_PROGDIRPATH/${PBI_APPMENU_DIR}/PBI-${i}"
 
 		# Check for a .directory file associated with this .desktop



More information about the Commits mailing list