Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Sets posix file permissions.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 4.3 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes, on macOS and Linux | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native path to the file or folder. | "/Users/John/Desktop/test.txt" |
Mode | The new mode. | "777" |
Returns OK or error message.
Set permissions
MBS( "Files.SetPosixPermissions"; "/Users/cs/Desktop/test"; "755" )
Created 18th August 2014, last changed 17th January 2021
Files.SetModificationDate - Files.SetTagNames
Feedback: Report problem or ask question.