Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

DarwinChmodMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Files MBS MacCF Plugin 3.1 Yes No No Yes, macOS only No
Function: A class to change the owner or mode of a file on Mac OS X.
dim c as DarwinChmodMBS
dim userfolder as FolderItem
dim darwinResult as Integer
dim s as string

c=new DarwinChmodMBS


darwinResult = c.chmod( s, &B111111111 ) // all rwx

// 1 = ---------x
// 2 = --------wx
// 7 = -------rwx
// 8 = ------x---


MsgBox s+" "+str(darwinResult)+" "+str(c.error)

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:

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

DADissenterMBS   -   DarwinDriveStatisticsMBS

MBS FileMaker blog