From a510033df5bfc7e8c8b6f2498196a4e3e281c6a7 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 16 May 2008 22:50:37 +0000 Subject: * Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded assets on disk write from Melane. Thanks Melanie! --- .../Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Agent') diff --git a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs index 65785af..b401cdb 100644 --- a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs +++ b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs @@ -379,8 +379,9 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction item.AssetType = type; item.InvType = invType; item.Folder = InventFolder; - item.BasePermissions = 2147483647; - item.CurrentPermissions = 2147483647; + item.BasePermissions = 0x7fffffff; + item.CurrentPermissions = 0x7fffffff; + item.EveryOnePermissions=0; item.NextPermissions = nextPerm; item.Flags = (uint) wearableType; @@ -401,4 +402,4 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction #endregion } -} \ No newline at end of file +} -- cgit v1.1