LSL Wiki Mirror 7-7-7 : llSetInventoryPermMask

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
Not implemented as of 1.6.1. May show up in a future version.

llSetInventoryPermMask()

Sets the given permission mask to the new value on the inventory item.

Base permissions are the permissions the object has when it was given to the current owner. In theory, no other mask can have more permissions then the base. If they do then this is a bug in permissions and should be reported.

Mask Value Description
MASK_BASE 0 Changes the object's base permissions
MASK_OWNER 1 Changes the permissions the current owner has.
MASK_GROUP 2 Changes the permissions the object's active group has.
MASK_EVERYONE 3 Changes the permissions everyone has on the object.
MASK_NEXT 4 Changes the permissions the next owner has.
These are not bit flags. They can not be OR'ed

Permissions Value (in Hex notation) Description
PERM_ALL 0x7FFFFFFF Set Move/Modify/Copy/Transfer permissions
PERM_COPY 0x00008000 Set Copy permission
PERM_MODIFY 0x00004000 Set Modify permission
PERM_MOVE 0x00080000 Set Move permission
PERM_TRANSFER 0x00002000 Set Transfer permission
Do note that ((PERM_COPY | PERM_MODIFY | PERM_MOVE | PERM_TRANSFER) is not the same as PERM_ALL). This is because there may (read as: will) be more permissions in the future.

To retrieve the inventory item's permission for the mask, see llGetInventoryPermMask.
To retrieve the object's permission mask, see llGetObjectPermMask.
Compare with llSetObjectPermMask. (not implimented)


Functions | Permissions | AssetPermissions | Future Revisions
There is no comment on this page. [Display comments/form]