Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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


Parameter Description Example
Path Native path to the file or directory. "/System/Applications/"
Value The new flag value.
Pass 1 or 0.


Returns OK or error.


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

Blog Entries

This function checks for a license.

Created 18th April 2024, last changed 18th April 2024

Files.SetReadOnly - Files.SetTagNames