Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.SetSystemImmutable
Sets the system immutable flag.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "Files.SetSystemImmutable"; Path; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Path | Native path to the file or directory. | "/System/Applications/Preview.app" |
Value | The new flag value. Pass 1 or 0. |
Result
Returns OK or error.
Description
Sets the system immutable flag.You may not be able to set it from FileMaker unless FileMaker runs with evaluated permissions.
See also
Release notes
- Version 14.2
- Added Files.IsSystemImmutable, Files.IsUserImmutable, Files.SetSystemImmutable and Files.SetUserImmutable functions.
Blog Entries
This function checks for a license.
Created 18th April 2024, last changed 18th April 2024
