From 667b54f5a2a04fa5a2859397868d270eab3913f1 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 23 Jul 2011 01:59:14 +0100
Subject: Don't load current/next/everyone/base permissions from the library
 item xml files - always use PermissionMask.All instead (which was the
 existing default).

Library items always need the same permissions, so it doesn't make sense to load them from the xml files.  This just opens the door to permissions mistakes.
---
 OpenSim/Framework/InventoryFolderImpl.cs           |   8 +-
 .../InventoryAccess/InventoryAccessModule.cs       |   4 +
 .../CoreModules/Framework/Library/LibraryModule.cs |   8 +-
 OpenSim/Region/Framework/Scenes/Scene.Inventory.cs |   5 +-
 .../Services/InventoryService/LibraryService.cs    |  37 +--
 .../AnimationsLibrary/AnimationsLibraryItems.xml   |   6 -
 .../BodyPartsLibrary/BodyPartsLibraryItems.xml     |  33 +--
 .../ClothingLibrary/ClothingLibraryItems.xml       |  14 +-
 .../GesturesLibrary/GesturesLibraryItems.xml       |  80 ++----
 .../LandmarksLibrary/LandmarksLibraryItems.xml     |   4 -
 .../NotecardsLibrary/NotecardsLibraryItems.xml     |  14 +-
 .../ObjectsLibrary/ObjectsLibraryItems.xml         |   4 -
 bin/inventory/OpenSimLibrary/OpenSimLibrary.xml    |   4 -
 bin/inventory/PhotosLibrary/PhotosLibraryItems.xml |   4 -
 .../ScriptsLibrary/ScriptsLibraryItems.xml         | 223 +++++------------
 bin/inventory/SoundsLibrary/SoundsLibraryItems.xml |   4 -
 .../TexturesLibrary/TexturesLibraryItems.xml       | 274 ++++-----------------
 17 files changed, 159 insertions(+), 567 deletions(-)

diff --git a/OpenSim/Framework/InventoryFolderImpl.cs b/OpenSim/Framework/InventoryFolderImpl.cs
index 29c7682..139776b 100644
--- a/OpenSim/Framework/InventoryFolderImpl.cs
+++ b/OpenSim/Framework/InventoryFolderImpl.cs
@@ -27,13 +27,15 @@
 
 using System;
 using System.Collections.Generic;
+using System.Reflection;
+using log4net;
 using OpenMetaverse;
 
 namespace OpenSim.Framework
 {
     public class InventoryFolderImpl : InventoryFolderBase
     {
-        //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
+//        private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
 
         public static readonly string PATH_DELIMITER = "/";
 
@@ -402,6 +404,10 @@ namespace OpenSim.Framework
             {
                 foreach (InventoryItemBase item in Items.Values)
                 {
+//                    m_log.DebugFormat(
+//                        "[INVENTORY FOLDER IMPL]: Returning item {0} {1}, OwnerPermissions {2:X}",
+//                        item.Name, item.ID, item.CurrentPermissions);
+
                     itemList.Add(item);
                 }
             }
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index b714f2b..4933147 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -984,11 +984,14 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
         public virtual bool CanGetAgentInventoryItem(IClientAPI remoteClient, UUID itemID, UUID requestID)
         {
             InventoryItemBase assetRequestItem = GetItem(remoteClient.AgentId, itemID);
+
             if (assetRequestItem == null)
             {
                 ILibraryService lib = m_Scene.RequestModuleInterface<ILibraryService>();
+
                 if (lib != null)
                     assetRequestItem = lib.LibraryRootFolder.FindItem(itemID);
+
                 if (assetRequestItem == null)
                     return false;
             }
@@ -1019,6 +1022,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
                 m_log.WarnFormat(
                     "[CLIENT]: {0} requested asset {1} from item {2} but this does not match item's asset {3}",
                     Name, requestID, itemID, assetRequestItem.AssetID);
+
                 return false;
             }
 
diff --git a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs
index d570608..2ef4457 100644
--- a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs
@@ -185,6 +185,7 @@ namespace OpenSim.Region.CoreModules.Framework.Library
                         archread = new InventoryArchiveReadRequest(m_MockScene, uinfo, "/", iarFileName, false);
                         archread.Execute();
                     }
+
                     foreach (InventoryNodeBase node in nodes)
                         FixPerms(node);
                 }
@@ -197,18 +198,23 @@ namespace OpenSim.Region.CoreModules.Framework.Library
                     archread.Close();
                 }
             }
-
         }
 
         private void FixPerms(InventoryNodeBase node)
         {
+            m_log.DebugFormat("[LIBRARY MODULE]: Fixing perms for {0} {1}", node.Name, node.ID);
+
             if (node is InventoryItemBase)
             {
                 InventoryItemBase item = (InventoryItemBase)node;
+//                item.BasePermissions = (uint)PermissionMask.All;
                 item.BasePermissions = 0x7FFFFFFF;
                 item.EveryOnePermissions = 0x7FFFFFFF;
                 item.CurrentPermissions = 0x7FFFFFFF;
                 item.NextPermissions = 0x7FFFFFFF;
+//                item.EveryOnePermissions = (uint)PermissionMask.Copy;
+//                item.CurrentPermissions = (uint)PermissionMask.None;
+//                item.NextPermissions = (uint)PermissionMask.All;
             }
         }
 
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 30421d4..afc1a4f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -724,7 +724,10 @@ namespace OpenSim.Region.Framework.Scenes
                     newName = item.Name;
                 }
 
-                if (remoteClient.AgentId == oldAgentID || (LibraryService != null && LibraryService.LibraryRootFolder != null && oldAgentID == LibraryService.LibraryRootFolder.Owner))
+                if (remoteClient.AgentId == oldAgentID
+                    || (LibraryService != null
+                        && LibraryService.LibraryRootFolder != null
+                        && oldAgentID == LibraryService.LibraryRootFolder.Owner))
                 {
                     CreateNewInventoryItem(
                         remoteClient, item.CreatorId, item.CreatorData, newFolderID, newName, item.Flags, callbackID, asset, (sbyte)item.InvType,
diff --git a/OpenSim/Services/InventoryService/LibraryService.cs b/OpenSim/Services/InventoryService/LibraryService.cs
index 383f311..b46add3 100644
--- a/OpenSim/Services/InventoryService/LibraryService.cs
+++ b/OpenSim/Services/InventoryService/LibraryService.cs
@@ -93,26 +93,6 @@ namespace OpenSim.Services.InventoryService
             LoadLibraries(pLibrariesLocation);
         }
 
-        public InventoryItemBase CreateItem(UUID inventoryID, UUID assetID, string name, string description,
-                                            int assetType, int invType, UUID parentFolderID)
-        {
-            InventoryItemBase item = new InventoryItemBase();
-            item.Owner = libOwner;
-            item.CreatorId = libOwner.ToString();
-            item.ID = inventoryID;
-            item.AssetID = assetID;
-            item.Description = description;
-            item.Name = name;
-            item.AssetType = assetType;
-            item.InvType = invType;
-            item.Folder = parentFolderID;
-            item.BasePermissions = 0x7FFFFFFF;
-            item.EveryOnePermissions = 0x7FFFFFFF;
-            item.CurrentPermissions = 0x7FFFFFFF;
-            item.NextPermissions = 0x7FFFFFFF;
-            return item;
-        }
-
         /// <summary>
         /// Use the asset set information at path to load assets
         /// </summary>
@@ -193,22 +173,27 @@ namespace OpenSim.Services.InventoryService
             item.Description = config.GetString("description", item.Name);
             item.InvType = config.GetInt("inventoryType", 0);
             item.AssetType = config.GetInt("assetType", item.InvType);
-            item.CurrentPermissions = (uint)config.GetLong("currentPermissions", 0x7FFFFFFF);
-            item.NextPermissions = (uint)config.GetLong("nextPermissions", 0x7FFFFFFF);
-            item.EveryOnePermissions = (uint)config.GetLong("everyonePermissions", 0x7FFFFFFF);
-            item.BasePermissions = (uint)config.GetLong("basePermissions", 0x7FFFFFFF);
-            item.Flags = (uint)config.GetInt("flags", 0);
+            item.CurrentPermissions = (uint)PermissionMask.All;
+            item.NextPermissions = (uint)PermissionMask.All;
+            item.EveryOnePermissions = (uint)PermissionMask.All;
+//            item.EveryOnePermissions = (uint)PermissionMask.All - (uint)PermissionMask.Modify;
+            item.BasePermissions = (uint)PermissionMask.All;
 
             if (libraryFolders.ContainsKey(item.Folder))
             {
                 InventoryFolderImpl parentFolder = libraryFolders[item.Folder];
+
                 try
                 {
+//                    m_log.DebugFormat(
+//                        "[LIBRARY INVENTORY]: Adding item {0} {1}, OwnerPermissions {2:X} to {3}",
+//                        item.Name, item.ID, item.CurrentPermissions, item.Folder);
+
                     parentFolder.Items.Add(item.ID, item);
                 }
                 catch (Exception)
                 {
-                    m_log.WarnFormat("[LIBRARY INVENTORY] Item {1} [{0}] not added, duplicate item", item.ID, item.Name);
+                    m_log.WarnFormat("[LIBRARY INVENTORY]: Item {1} [{0}] not added, duplicate item", item.ID, item.Name);
                 }
             }
             else
diff --git a/bin/inventory/AnimationsLibrary/AnimationsLibraryItems.xml b/bin/inventory/AnimationsLibrary/AnimationsLibraryItems.xml
index 2a6ceb4..9cfadf0 100644
--- a/bin/inventory/AnimationsLibrary/AnimationsLibraryItems.xml
+++ b/bin/inventory/AnimationsLibrary/AnimationsLibraryItems.xml
@@ -108,8 +108,6 @@
     <Key Name="inventoryType" Value="19" />
   </Section>
 
-  
-
 <!--
   <Section Name="Example Library Item">
     <Key Name="inventoryID" Value="30000000-0000-2222-4444-000000000001" />
@@ -119,10 +117,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
diff --git a/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml b/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml
index aa8d9d9..d9adf1c 100644
--- a/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml
+++ b/bin/inventory/BodyPartsLibrary/BodyPartsLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 <!--
@@ -24,10 +20,6 @@
     <Key Name="name" Value="Hair" />
     <Key Name="assetType" Value="13" />
     <Key Name="inventoryType" Value="18" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
   
   <Section Name="Skin">
@@ -38,10 +30,6 @@
     <Key Name="name" Value="Skin" />
     <Key Name="assetType" Value="13" />
     <Key Name="inventoryType" Value="18" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 -->
 <!--
@@ -53,10 +41,6 @@
     <Key Name="name" Value="Jim Skin" />
     <Key Name="assetType" Value="13" />
     <Key Name="inventoryType" Value="13" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 
   <Section Name="Little Goblin Skin">
@@ -67,10 +51,6 @@
     <Key Name="name" Value="Little Goblin Skin" />
     <Key Name="assetType" Value="13" />
     <Key Name="inventoryType" Value="13" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 -->
 <!--
@@ -82,10 +62,6 @@
     <Key Name="name" Value="Shape" />
     <Key Name="assetType" Value="13" />
     <Key Name="inventoryType" Value="18" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 -->
 <!--
@@ -97,10 +73,6 @@
     <Key Name="name" Value="Jim Shape" />
     <Key Name="assetType" Value="13" />
     <Key Name="inventoryType" Value="13" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 
   <Section Name="Little Goblin Shape">
@@ -111,10 +83,7 @@
     <Key Name="name" Value="Little Goblin Shape" />
     <Key Name="assetType" Value="13" />
     <Key Name="inventoryType" Value="13" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
   -->
+
 </Nini>
diff --git a/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml b/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml
index 9e297f0..a12bb8a 100644
--- a/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml
+++ b/bin/inventory/ClothingLibrary/ClothingLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 <!--
@@ -24,11 +20,8 @@
     <Key Name="name" Value="Shirt" />
     <Key Name="assetType" Value="5" />
     <Key Name="inventoryType" Value="18" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="Pants">
     <Key Name="inventoryID" Value="d5e46211-b9d1-11dc-95ff-0800200c9a66" />
     <Key Name="assetID" Value="00000000-38f9-1111-024e-222222111120" />
@@ -37,10 +30,7 @@
     <Key Name="name" Value="Pants" />
     <Key Name="assetType" Value="5" />
     <Key Name="inventoryType" Value="18" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 -->
+
 </Nini>
diff --git a/bin/inventory/GesturesLibrary/GesturesLibraryItems.xml b/bin/inventory/GesturesLibrary/GesturesLibraryItems.xml
index 1312129..ca3ce2d 100644
--- a/bin/inventory/GesturesLibrary/GesturesLibraryItems.xml
+++ b/bin/inventory/GesturesLibrary/GesturesLibraryItems.xml
@@ -7,11 +7,8 @@
 		<Key Name="name" Value="can we move along?" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="me!">
 		<Key Name="inventoryID" Value="4c141851-1bef-4c00-9058-8c4d97ab48fe"/>
 		<Key Name="assetID" Value="652475bc-ffb7-4a18-b6bb-7731ddeb6a51"/>
@@ -20,11 +17,8 @@
 		<Key Name="name" Value="me!" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="clap">
 		<Key Name="inventoryID" Value="a5a30fdb-613f-44fa-8bc2-7806e4da67f6"/>
 		<Key Name="assetID" Value="712e81fd-a215-498c-ab1a-caf1f5bf950d"/>
@@ -33,11 +27,8 @@
 		<Key Name="name" Value="clap" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="no">
 		<Key Name="inventoryID" Value="514b3ca6-1571-4f58-a24e-f58eb5cb8460"/>
 		<Key Name="assetID" Value="6c123970-0f5a-448e-920a-07bae9aadf4c"/>
@@ -46,11 +37,8 @@
 		<Key Name="name" Value="no" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="suprised">
 		<Key Name="inventoryID" Value="120fb1f3-112b-4bc4-a7d3-a784ecc360af"/>
 		<Key Name="assetID" Value="dbaf104b-cba8-4df7-b5d3-0cb57d0d63b2"/>
@@ -59,11 +47,8 @@
 		<Key Name="name" Value="suprised" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="dance2">
 		<Key Name="inventoryID" Value="1ca0e368-5a11-4da1-8503-925a55e7c45f"/>
 		<Key Name="assetID" Value="3bd1792a-6756-4ee0-a54e-3ae6493c2036"/>
@@ -72,11 +57,8 @@
 		<Key Name="name" Value="dance2" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="definitely YES">
 		<Key Name="inventoryID" Value="022fa770-abb1-4266-963a-4ece4747b748"/>
 		<Key Name="assetID" Value="392c292f-3d27-45ff-9437-c79c06699237"/>
@@ -85,11 +67,8 @@
 		<Key Name="name" Value="definitely YES" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="Wave">
 		<Key Name="inventoryID" Value="6406a7c6-a690-44be-a444-ba723e50c17d"/>
 		<Key Name="assetID" Value="cce0e317-2c49-411e-8716-f9ce3007c715"/>
@@ -98,11 +77,8 @@
 		<Key Name="name" Value="Wave" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="take it outside">
 		<Key Name="inventoryID" Value="1488b988-c300-4c2e-b48a-3b8eacb93659"/>
 		<Key Name="assetID" Value="d082bd28-f655-43b7-a0eb-cb80db03753e"/>
@@ -111,11 +87,8 @@
 		<Key Name="name" Value="take it outside" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="whoohoo!">
 		<Key Name="inventoryID" Value="18c1a2fc-17f6-4af4-a519-827b272feaac"/>
 		<Key Name="assetID" Value="7f7384c0-848c-4bf0-8e83-50879981e1a4"/>
@@ -124,11 +97,8 @@
 		<Key Name="name" Value="whoohoo!" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="raise hand">
 		<Key Name="inventoryID" Value="5c0afacd-bbd0-4f66-a516-4ac4e380853c"/>
 		<Key Name="assetID" Value="2d0819cf-452b-4db8-b7ac-cda443bc89e7"/>
@@ -137,11 +107,8 @@
 		<Key Name="name" Value="raise hand" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="LOL">
 		<Key Name="inventoryID" Value="407f6a99-1a12-43c6-bec1-8fad974c8f42"/>
 		<Key Name="assetID" Value="d545ac78-09cc-4811-8700-8df1a37d7f56"/>
@@ -150,11 +117,8 @@
 		<Key Name="name" Value="LOL" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="dance1">
 		<Key Name="inventoryID" Value="59cce8ab-5c0c-49be-aa3b-036f05fbd7f4"/>
 		<Key Name="assetID" Value="9cc5bb24-bacf-44f9-a1d0-d409e6ccfa6c"/>
@@ -163,11 +127,8 @@
 		<Key Name="name" Value="dance1" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="wink!">
 		<Key Name="inventoryID" Value="ba33e8ab-b816-4ead-9302-c8475deb1845"/>
 		<Key Name="assetID" Value="67d47cd0-9634-4c99-97db-ddce9bda467c"/>
@@ -176,11 +137,8 @@
 		<Key Name="name" Value="wink!" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="not sure">
 		<Key Name="inventoryID" Value="02da80eb-cad0-4cd1-9ff7-d3d3dd150fbc"/>
 		<Key Name="assetID" Value="9bc46cd2-95cb-456d-9070-a4439e42af9e"/>
@@ -189,11 +147,8 @@
 		<Key Name="name" Value="not sure" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 	<Section Name="dance3">
 		<Key Name="inventoryID" Value="05e53736-dacb-4935-a1e9-d9897b35b962"/>
 		<Key Name="assetID" Value="fd9ad83a-4921-4b6e-8b8e-558556d9f503"/>
@@ -202,9 +157,6 @@
 		<Key Name="name" Value="dance3" />
 		<Key Name="assetType" Value="21"/>
 		<Key Name="inventoryType" Value="20"/>
-		<Key Name="currentPermissions" Value="2147483647"/>
-		<Key Name="nextPermissions" Value="2147483647"/>
-		<Key Name="everyonePermissions" Value="2147483647" />
-		<Key Name="basePermissions" Value="2147483647"/>
 	</Section>
+
 </Nini>
diff --git a/bin/inventory/LandmarksLibrary/LandmarksLibraryItems.xml b/bin/inventory/LandmarksLibrary/LandmarksLibraryItems.xml
index 4047a58..44194cd 100644
--- a/bin/inventory/LandmarksLibrary/LandmarksLibraryItems.xml
+++ b/bin/inventory/LandmarksLibrary/LandmarksLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
diff --git a/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml b/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml
index 713c365..e232bcc 100644
--- a/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml
+++ b/bin/inventory/NotecardsLibrary/NotecardsLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
@@ -24,11 +20,8 @@
     <Key Name="name" Value="Welcome" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="Example notecard">
     <Key Name="inventoryID" Value="a170ffc0-b9c7-11dc-95ff-0800200c9a66" />
     <Key Name="assetID" Value="8d1ada50-b9c7-11dc-95ff-0800200c9a66" />
@@ -37,9 +30,6 @@
     <Key Name="name" Value="Example notecard" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
 </Nini>
diff --git a/bin/inventory/ObjectsLibrary/ObjectsLibraryItems.xml b/bin/inventory/ObjectsLibrary/ObjectsLibraryItems.xml
index 4047a58..44194cd 100644
--- a/bin/inventory/ObjectsLibrary/ObjectsLibraryItems.xml
+++ b/bin/inventory/ObjectsLibrary/ObjectsLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
diff --git a/bin/inventory/OpenSimLibrary/OpenSimLibrary.xml b/bin/inventory/OpenSimLibrary/OpenSimLibrary.xml
index 7eb8de3..bef59d8 100644
--- a/bin/inventory/OpenSimLibrary/OpenSimLibrary.xml
+++ b/bin/inventory/OpenSimLibrary/OpenSimLibrary.xml
@@ -10,10 +10,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
diff --git a/bin/inventory/PhotosLibrary/PhotosLibraryItems.xml b/bin/inventory/PhotosLibrary/PhotosLibraryItems.xml
index 4047a58..44194cd 100644
--- a/bin/inventory/PhotosLibrary/PhotosLibraryItems.xml
+++ b/bin/inventory/PhotosLibrary/PhotosLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
diff --git a/bin/inventory/ScriptsLibrary/ScriptsLibraryItems.xml b/bin/inventory/ScriptsLibrary/ScriptsLibraryItems.xml
index 9641f7d..df9d867 100644
--- a/bin/inventory/ScriptsLibrary/ScriptsLibraryItems.xml
+++ b/bin/inventory/ScriptsLibrary/ScriptsLibraryItems.xml
@@ -25,11 +25,8 @@
     <Key Name="name" Value="llAbs" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAcos">
     <Key Name="inventoryID" Value="6519bf38-b19f-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="6519bf39-b19f-11dc-8314-0800200c9a66" />
@@ -38,11 +35,8 @@
     <Key Name="name" Value="llAcos" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAddToLandBanList">
     <Key Name="inventoryID" Value="7ceba3f0-b1a0-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="7ceba3f1-b1a0-11dc-8314-0800200c9a66" />
@@ -51,11 +45,8 @@
     <Key Name="name" Value="llAddToLandBanList" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAddToLandPassList">
     <Key Name="inventoryID" Value="609047e6-b390-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="609047e7-b390-11dc-8314-0800200c9a66" />
@@ -64,11 +55,8 @@
     <Key Name="name" Value="llAddToLandPassList" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAdjustSoundVolume">
     <Key Name="inventoryID" Value="56df4bcc-b393-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="56df4bcd-b393-11dc-8314-0800200c9a66" />
@@ -77,11 +65,8 @@
     <Key Name="name" Value="llAdjustSoundVolume" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAllowInventoryDrop">
     <Key Name="inventoryID" Value="54d6962c-b394-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="54d6962d-b394-11dc-8314-0800200c9a66" />
@@ -90,11 +75,8 @@
     <Key Name="name" Value="llAllowInventoryDrop" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAngleBetween">
     <Key Name="inventoryID" Value="6b341608-b34e-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="6b341609-b34e-11dc-8314-0800200c9a66" />
@@ -103,11 +85,8 @@
     <Key Name="name" Value="llAngleBetween" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAsin">
     <Key Name="inventoryID" Value="7e7422ec-b425-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="7e7422ed-b425-11dc-8314-0800200c9a66" />
@@ -116,11 +95,8 @@
     <Key Name="name" Value="llAsin" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAtan2">
     <Key Name="inventoryID" Value="7e7422ee-b425-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="7e7422ef-b425-11dc-8314-0800200c9a66" />
@@ -129,11 +105,8 @@
     <Key Name="name" Value="llAtan2" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llApplyImpulse">
     <Key Name="inventoryID" Value="714ec678-b419-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="714ec679-b419-11dc-8314-0800200c9a66" />
@@ -142,11 +115,8 @@
     <Key Name="name" Value="llApplyImpulse" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llAvatarOnSitTarget">
     <Key Name="inventoryID" Value="579fc820-b426-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="579fc821-b426-11dc-8314-0800200c9a66" />
@@ -155,11 +125,8 @@
     <Key Name="name" Value="llAvatarOnSitTarget" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
 <!-- B == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba004"/> -->
   <Section Name="llBase64ToString">
     <Key Name="inventoryID" Value="1d4c71d8-b428-11dc-8314-0800200c9a66" />
@@ -169,11 +136,8 @@
     <Key Name="name" Value="llBase64ToString" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
 <!-- C == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba005"/> -->
 <!-- D == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba006"/> -->
 <!-- E == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba007"/> -->
@@ -187,6 +151,7 @@
 <!-- O == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba015"/> -->
 <!-- P == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba016"/> -->
 <!-- R == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba017"/> -->
+
   <Section Name="llRemoveFromLandBanList">
     <Key Name="inventoryID" Value="299b2100-b392-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="299b2101-b392-11dc-8314-0800200c9a66" />
@@ -195,11 +160,8 @@
     <Key Name="name" Value="llRemoveFromLandBanList" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llRemoveFromLandPassList">
     <Key Name="inventoryID" Value="299b2102-b392-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="299b2103-b392-11dc-8314-0800200c9a66" />
@@ -208,11 +170,8 @@
     <Key Name="name" Value="llRemoveFromLandPassList" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llResetLandBanList">
     <Key Name="inventoryID" Value="366ac8e6-b391-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="366ac8e7-b391-11dc-8314-0800200c9a66" />
@@ -221,11 +180,8 @@
     <Key Name="name" Value="llResetLandBanList" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llResetLandPassList">
     <Key Name="inventoryID" Value="366ac8e8-b391-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="366ac8e9-b391-11dc-8314-0800200c9a66" />
@@ -234,11 +190,8 @@
     <Key Name="name" Value="llResetLandPassList" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
 <!-- S == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba018"/> -->
   <Section Name="llSay">
     <Key Name="inventoryID" Value="3af51d20-b38f-11dc-8314-0800200c9a66" />
@@ -248,11 +201,8 @@
     <Key Name="name" Value="llSay" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llSetParcelMusicURL">
     <Key Name="inventoryID" Value="3603a4f9-b360-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="3603a4f8-b360-11dc-8314-0800200c9a66" />
@@ -261,11 +211,8 @@
     <Key Name="name" Value="llSetParcelMusicURL" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="llSetRot">
     <Key Name="inventoryID" Value="220baef8-b376-11dc-8314-0800200c9a66" />
     <Key Name="assetID" Value="220baef9-b376-11dc-8314-0800200c9a66" />
@@ -274,11 +221,8 @@
     <Key Name="name" Value="llSetRot" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
 <!-- T == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba019"/> -->
 <!-- U == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba020"/> -->
 <!-- V == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba021"/> -->
@@ -288,213 +232,166 @@
   <Section Name="Kan-Ed Test1">
     <Key Name="inventoryID" Value="42b6ac70-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac70-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test1" />
     <Key Name="name" Value="Kan-Ed Test1" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test2">
     <Key Name="inventoryID" Value="42b6ac71-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac71-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test2" />
     <Key Name="name" Value="Kan-Ed Test2" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test3">
     <Key Name="inventoryID" Value="42b6ac72-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac72-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test3" />
     <Key Name="name" Value="Kan-Ed Test3" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test4">
     <Key Name="inventoryID" Value="42b6ac73-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac73-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test4" />
     <Key Name="name" Value="Kan-Ed Test4" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test5">
     <Key Name="inventoryID" Value="42b6ac74-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac74-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test5" />
     <Key Name="name" Value="Kan-Ed Test5" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test6">
     <Key Name="inventoryID" Value="42b6ac75-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac75-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test6" />
     <Key Name="name" Value="Kan-Ed Test6" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test7">
     <Key Name="inventoryID" Value="42b6ac76-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac76-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test7" />
     <Key Name="name" Value="Kan-Ed Test7" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test8">
     <Key Name="inventoryID" Value="42b6ac77-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac77-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test8" />
     <Key Name="name" Value="Kan-Ed Test8" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test9">
     <Key Name="inventoryID" Value="42b6ac78-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac78-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test9" />
     <Key Name="name" Value="Kan-Ed Test9" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test10">
     <Key Name="inventoryID" Value="42b6ac79-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac79-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test10" />
     <Key Name="name" Value="Kan-Ed Test10" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test11">
     <Key Name="inventoryID" Value="42b6ac7a-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac7a-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test11" />
     <Key Name="name" Value="Kan-Ed Test11" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test12">
     <Key Name="inventoryID" Value="42b6ac7b-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac7b-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test12" />
     <Key Name="name" Value="Kan-Ed Test12" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test13">
     <Key Name="inventoryID" Value="42b6ac7c-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac7c-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test13" />
     <Key Name="name" Value="Kan-Ed Test13" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test14">
     <Key Name="inventoryID" Value="42b6ac7d-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac7d-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test14" />
     <Key Name="name" Value="Kan-Ed Test14" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test15">
     <Key Name="inventoryID" Value="42b6ac7e-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac7e-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test15" />
     <Key Name="name" Value="Kan-Ed Test15" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="Kan-Ed Test16">
     <Key Name="inventoryID" Value="42b6ac7f-d21f-11dd-ad8b-0800200c9a66" />
     <Key Name="assetID" Value="42b6ac7f-d21f-11dd-ad8b-0800200c9a66" />
-	<Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
+    <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba024"/>
     <Key Name="description" Value="Kan-Ed Test16" />
     <Key Name="name" Value="Kan-Ed Test16" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
 <!-- .Other testing scripts == <Key Name="folderID" Value="30000112-000f-0000-0000-000100bba025"/> -->
 <!-- OpenSim Specific Scripts == <Key Name="folderID" Value="284858c8-9391-6bf1-ddf5-b936f73de853"/> -->
+
   <Section Name="osTextBoard">
     <Key Name="inventoryID" Value="2ddcb059-20c5-d169-4c42-673f16d3284b" />
     <Key Name="assetID" Value="2ddcb059-20c5-d169-4c42-673f16d3284b" />
@@ -503,11 +400,8 @@
     <Key Name="name" Value="osTextBoard" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="osWeatherMap">
     <Key Name="inventoryID" Value="d63ad3ec-b687-6c38-410d-31ba3e50ce4d" />
     <Key Name="assetID" Value="d63ad3ec-b687-6c38-410d-31ba3e50ce4d" />
@@ -516,11 +410,8 @@
     <Key Name="name" Value="osWeatherMap" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
+
   <Section Name="GrafittiBoard">
     <Key Name="inventoryID" Value="81305ee4-8caa-9e0a-69a4-76ed57df0c8f" />
     <Key Name="assetID" Value="81305ee4-8caa-9e0a-69a4-76ed57df0c8f" />
@@ -529,9 +420,5 @@
     <Key Name="name" Value="GrafittiBoard" />
     <Key Name="assetType" Value="10" />
     <Key Name="inventoryType" Value="10" />
-    <Key Name="currentPermissions" Value="257487132" />
-    <Key Name="nextPermissions" Value="257487132" />
-    <Key Name="everyonePermissions" Value="257487132" />
-    <Key Name="basePermissions" Value="257487132" />
   </Section>
 </Nini>
diff --git a/bin/inventory/SoundsLibrary/SoundsLibraryItems.xml b/bin/inventory/SoundsLibrary/SoundsLibraryItems.xml
index 4047a58..44194cd 100644
--- a/bin/inventory/SoundsLibrary/SoundsLibraryItems.xml
+++ b/bin/inventory/SoundsLibrary/SoundsLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
diff --git a/bin/inventory/TexturesLibrary/TexturesLibraryItems.xml b/bin/inventory/TexturesLibrary/TexturesLibraryItems.xml
index adba99a..a018a0d 100644
--- a/bin/inventory/TexturesLibrary/TexturesLibraryItems.xml
+++ b/bin/inventory/TexturesLibrary/TexturesLibraryItems.xml
@@ -9,10 +9,6 @@
     <Key Name="name" Value="Example Library Item" />
     <Key Name="assetType" Value="7" />
     <Key Name="inventoryType" Value="7" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 --> 
 
@@ -24,11 +20,8 @@
     <Key Name="name" Value="4-tile2" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="4-tile3 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001001" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001001" />
@@ -37,11 +30,8 @@
     <Key Name="name" Value="4-tile3" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="brick1_256 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001002" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001002" />
@@ -50,11 +40,8 @@
     <Key Name="name" Value="brick1_256" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="brick2_256 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001003" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001003" />
@@ -63,11 +50,8 @@
     <Key Name="name" Value="brick2_256" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="brick_mono Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001004" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001004" />
@@ -76,11 +60,8 @@
     <Key Name="name" Value="brick_mono" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="cedar Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001005" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001005" />
@@ -89,11 +70,8 @@
     <Key Name="name" Value="cedar" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="cement_block Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001006" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001006" />
@@ -102,11 +80,8 @@
     <Key Name="name" Value="cement_block" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="clear Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001007" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001007" />
@@ -115,11 +90,8 @@
     <Key Name="name" Value="clear" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="cobbles Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001008" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001008" />
@@ -128,11 +100,8 @@
     <Key Name="name" Value="cobbles" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="creambrick Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001009" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001009" />
@@ -141,11 +110,8 @@
     <Key Name="name" Value="creambrick" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="fgrass Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001010" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001010" />
@@ -154,11 +120,8 @@
     <Key Name="name" Value="fgrass" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="glasstile2 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001011" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001011" />
@@ -167,11 +130,8 @@
     <Key Name="name" Value="glasstile2" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="graniteblock Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001012" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001012" />
@@ -180,11 +140,8 @@
     <Key Name="name" Value="graniteblock" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="grass Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001013" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001013" />
@@ -193,11 +150,8 @@
     <Key Name="name" Value="grass" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="gravel Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001014" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001014" />
@@ -206,11 +160,8 @@
     <Key Name="name" Value="gravel" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="greybrick Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001015" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001015" />
@@ -219,11 +170,8 @@
     <Key Name="name" Value="greybrick" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="ivy Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001016" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001016" />
@@ -232,11 +180,8 @@
     <Key Name="name" Value="ivy" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="mahogany Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001017" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001017" />
@@ -245,11 +190,8 @@
     <Key Name="name" Value="mahogany" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="maple Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001018" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001018" />
@@ -258,11 +200,8 @@
     <Key Name="name" Value="maple" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="mosaic02 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001019" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001019" />
@@ -271,11 +210,8 @@
     <Key Name="name" Value="mosaic02" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="palm1 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001020" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001020" />
@@ -284,11 +220,8 @@
     <Key Name="name" Value="palm1" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="papaya Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001021" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001021" />
@@ -297,11 +230,8 @@
     <Key Name="name" Value="papaya" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="papaya_bark Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001022" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001022" />
@@ -310,11 +240,8 @@
     <Key Name="name" Value="papaya_bark" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="pastelbrick Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001023" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001023" />
@@ -323,11 +250,8 @@
     <Key Name="name" Value="pastelbrick" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="pine1_10m Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001024" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001024" />
@@ -336,11 +260,8 @@
     <Key Name="name" Value="pine1_10m" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="poplar Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001025" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001025" />
@@ -349,11 +270,8 @@
     <Key Name="name" Value="poplar" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="redtri_tile Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001026" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001026" />
@@ -362,11 +280,8 @@
     <Key Name="name" Value="redtri_tile" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="rockbuilding Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001027" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001027" />
@@ -375,11 +290,8 @@
     <Key Name="name" Value="rockbuilding" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="rockwallbig Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001028" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001028" />
@@ -388,11 +300,8 @@
     <Key Name="name" Value="rockwallbig" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="roof01 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001029" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001029" />
@@ -401,11 +310,8 @@
     <Key Name="name" Value="roof01" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="rooftiles1 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001030" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001030" />
@@ -414,11 +320,8 @@
     <Key Name="name" Value="rooftiles1" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="rooftiles2_peach Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001031" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001031" />
@@ -427,11 +330,8 @@
     <Key Name="name" Value="rooftiles2_peach" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="rooftiles2_roy Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001032" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001032" />
@@ -440,11 +340,8 @@
     <Key Name="name" Value="rooftiles2_roy" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="saguaro_8m Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001033" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001033" />
@@ -453,11 +350,8 @@
     <Key Name="name" Value="saguaro_8m" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="seawater Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001034" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001034" />
@@ -466,11 +360,8 @@
     <Key Name="name" Value="seawater" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="snow1 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001035" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001035" />
@@ -479,11 +370,8 @@
     <Key Name="name" Value="snow1" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="steel Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001036" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001036" />
@@ -492,11 +380,8 @@
     <Key Name="name" Value="steel" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="stone1wall Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001037" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001037" />
@@ -505,11 +390,8 @@
     <Key Name="name" Value="stone1wall" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="stonetile Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001038" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001038" />
@@ -518,11 +400,8 @@
     <Key Name="name" Value="stonetile" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="street2 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001039" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001039" />
@@ -531,11 +410,8 @@
     <Key Name="name" Value="street2" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="thatch Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001040" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001040" />
@@ -544,11 +420,8 @@
     <Key Name="name" Value="thatch" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="water1 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001041" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001041" />
@@ -557,11 +430,8 @@
     <Key Name="name" Value="water1" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="water3 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001042" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001042" />
@@ -570,11 +440,8 @@
     <Key Name="name" Value="water3" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="wood1 Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-4444-100000001043" />
     <Key Name="assetID" Value="00000000-0000-2222-3333-100000001043" />
@@ -583,11 +450,8 @@
     <Key Name="name" Value="wood1" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="bricks Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000001"/>
     <Key Name="assetID" Value="00000000-0000-1111-9999-000000000001"/>
@@ -596,11 +460,8 @@
     <Key Name="name" Value="bricks" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="granite Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000004"/>
     <Key Name="assetID" Value="00000000-0000-1111-9999-000000000004"/>
@@ -609,11 +470,8 @@
     <Key Name="name" Value="granite" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="hardwood Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000005"/>
     <Key Name="assetID" Value="00000000-0000-1111-9999-000000000005"/>
@@ -622,11 +480,8 @@
     <Key Name="name" Value="hardwood" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="rocks Texture">
     <Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000003"/>
     <Key Name="assetID" Value="00000000-0000-1111-9999-000000000003"/>
@@ -635,10 +490,6 @@
     <Key Name="name" Value="rocks" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 
   <Section Name="Terrain Dirt">
@@ -649,11 +500,8 @@
     <Key Name="name" Value="Terrain Dirt" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="Terrain Grass">
     <Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000007"/>
     <Key Name="assetID" Value="abb783e6-3e93-26c0-248a-247666855da3"/>
@@ -662,11 +510,8 @@
     <Key Name="name" Value="Terrain Grass" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="Terrain Mountain">
     <Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000008"/>
     <Key Name="assetID" Value="179cdabd-398a-9b6b-1391-4dc333ba321f"/>
@@ -675,11 +520,8 @@
     <Key Name="name" Value="Terrain Mountain" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
+
   <Section Name="Terrain Rock">
     <Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000009"/>
     <Key Name="assetID" Value="beb169c7-11ea-fff2-efe5-0f24dc881df2"/>
@@ -688,10 +530,6 @@
     <Key Name="name" Value="Terrain Rock" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 
   <Section Name="Blank Texture">
@@ -702,10 +540,6 @@
     <Key Name="name" Value="Blank Texture" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 
   <Section Name="Default Media Texture">
@@ -716,10 +550,6 @@
     <Key Name="name" Value="Default Media Texture" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 
   <Section Name="Default Transparent Texture">
@@ -730,9 +560,5 @@
     <Key Name="name" Value="Default Transparent Texture" />
     <Key Name="assetType" Value="0" />
     <Key Name="inventoryType" Value="0" />
-    <Key Name="currentPermissions" Value="2147483647" />
-    <Key Name="nextPermissions" Value="2147483647" />
-    <Key Name="everyonePermissions" Value="2147483647" />
-    <Key Name="basePermissions" Value="2147483647" />
   </Section>
 </Nini>
-- 
cgit v1.1