Platforms to show: All Mac Windows Linux Cross-Platform

Back to PermissionsMBS class.

PermissionsMBS.SetPermissions(OldWay as boolean) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS MacOSX Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the Permissions.

Returns -1 if function is not available.
Any other value is a Mac OS error code including 0 for success. You can use the MacErrorString function to get some details on the error code.
You may not have enough Permissions to set Permissions!

You can use old API if you set Oldway=true. Than you read access value like in older version of the plugin.
If you set Oldway = false, you use the newer API which read unix permissions, but not the old ones.
The old way is not supported for 64bit.

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...