Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

MASK_BASE vs MASK_OWNER

Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
03-12-2008 04:37
Anybody know if there's any difference between these? I can't see any...
_____________________
http://slurl.com/secondlife/Together
Shyan Graves
Registered User
Join date: 10 Feb 2007
Posts: 52
03-12-2008 08:28
the WIKIs state them as different:




and when you activate the permissions in the building tool you will see that there are two entries one for base and one for owner
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
03-12-2008 09:04
Another interesting link on this topic is

Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-12-2008 13:14
In other words, except maybe for how the sim's implementation code handles the two masks, they might as well be the same? That's the only impression -I- get from the referenced articles.
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
03-12-2008 20:14
Well, various information does indeed *say* that there is a distinction to be made, but every test that I can think of has MASK_BASE exactly equivalent to MASK_OWNER.

Maybe MASK_BASE is just a generalization artefact for future possible permissions enhancements.
_____________________
http://slurl.com/secondlife/Together
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-12-2008 22:14
MASK_BASE should be every available permission at the time of creation but it may be PERM_ALL,which includes ones not implemented yet,

on creation MASK_OWNER should match it, but on transfer, it is replaced with MASK_NEXT, which is why if it's transfered back you only get the permissions from next

relative assumption on mask base, regardless it never changes, and on creation we assume that mask owner should match it allowing new permissions to be applied to old objects, rather than limiting new permissions to new objects:
on creation
mask base = perm all
mask owner = perm all
mask next = (can'te remember but we'll set it for all available) perm move, copy, trans, mod

object gets transfered
mask base = as above
mask owner = move, copy, transfer, mod
mask next = (lets assume this owner turns offf mod) move, copy, trans

object is again transfered
mask base is still the same
owner = move copy trans
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-12-2008 22:56
From: Void Singer
object gets transfered
mask base = as above
...
object is again transfered
mask base is still the same

Not according to http://www.lslwiki.net/lslwiki/wakka.php?wakka=assetpermissions

"The base permission mask contains the permissions that the object had when it was given to the CURRENT OWNER." (Emphasis added.)

I don't know how you lose permissions after it is given to you. Maybe by rezzing it and then taking it back into inventory (which may change copy and transfer based on the permissions of its contents)?
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
03-13-2008 14:19
From: Hewee Zetkin
\"The base permission mask contains the permissions that the object had when it was given to the CURRENT OWNER." (Emphasis added.)
...which is my experience from testing and hence my original question. So my next question- - is this behaviour a bug?
_____________________
http://slurl.com/secondlife/Together
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-13-2008 15:26
odd... could this be related to resue of the owner permisions for shared (not deeded) objects? or are those handled under group permissions....

I missed th article on lslwiki, sry.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-14-2008 15:59
just to bump this, could it be an artifact from the god mode / non -implementation of llSet*PermisionMask
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -