Files.IsSystemImmutable
-----------------------

Queries the system immutable flag.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Files](component_Files.md) | [14.2](newinversion142.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "Files.IsSystemImmutable"; Path ) 

**MBS**( **"Files.IsSystemImmutable";** /\* Queries the system immutable flag. \*/  
**$Path**) /\* Native path to the file or directory.e.g. "/System/Applications/Preview.app" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Path | Native path to the file or directory. | "/System/Applications/Preview.app" |

### Result

Returns 1, 0 or error.

### Description

Queries the system immutable flag.  
Value is true for system-immutable resources.  
### Examples

Check whether file is system immutable:

 Set Variable \[$r ; Value: MBS ( "Files.IsSystemImmutable"; "/Users/cs/Dokumente/test.rtf" ) \]  
### See also

- [Files.IsUserImmutable](FilesIsUserImmutable.md)
- [Files.SetSystemImmutable](FilesSetSystemImmutable.md)
- [Files.SetUserImmutable](FilesSetUserImmutable.md)

### Release notes

- **Version 14.2**
    - Added [Files.IsSystemImmutable](https://www.mbsplugins.eu/FilesIsSystemImmutable.shtml), [Files.IsUserImmutable](https://www.mbsplugins.eu/FilesIsUserImmutable.shtml), [Files.SetSystemImmutable](https://www.mbsplugins.eu/FilesSetSystemImmutable.shtml) and [Files.SetUserImmutable](https://www.mbsplugins.eu/FilesSetUserImmutable.shtml) functions.

### Blog Entries

- [News in MBS FileMaker Plugin 14.2](https://www.mbsplugins.de/archive/2024-05-21/News_in_MBS_FileMaker_Plugin_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.2pr4](https://www.mbsplugins.de/archive/2024-05-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th April 2024 , last changed 12nd February 2025

  
[Files.IsReadOnly](FilesIsReadOnly.md) - [Files.IsUserImmutable](FilesIsUserImmutable.md)

[HTML Version](FilesIsSystemImmutable.shtml)