Permissions.StickyBit
From Xojo Documentation
Property (As Boolean )
This property is only available on macOS and Linux platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
aPermissions.StickyBit = newBooleanValue
or
BooleanValue = aPermissions.StickyBit
Supported for all project types and targets.
or
BooleanValue = aPermissions.StickyBit
Supported for all project types and targets.
If True, the operating system will not allow someone to remove or rename the file or files in the directory that he does not own, even he has Read/Write permissions.
Notes
This can be used for directories in which different users need to be able to create files but should not touch others' files. If the StickyBit is set, a 1 appears to the left of the Owner's digit in the Octal representation of the FolderItem's permissions.