<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderFileSystemFlags",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:@E@NSFileProviderFileSystemFlags"
  },
  "title" : "NSFileProviderFileSystemFlags"
}
-->

# NSFileProviderFileSystemFlags

Flags that define an item’s on-disk properties and its appearance in the user interface.

```
struct NSFileProviderFileSystemFlags
```

## Overview

The flags define the on-disk properties of the item. The system modifies the item’s appearance based on these flags.

## Topics

### Flags

[`userReadable`](/documentation/FileProvider/NSFileProviderFileSystemFlags/userReadable)

The user can read the item.

[`userWritable`](/documentation/FileProvider/NSFileProviderFileSystemFlags/userWritable)

The user can modify the item.

[`userExecutable`](/documentation/FileProvider/NSFileProviderFileSystemFlags/userExecutable)

The user can execute the item.

[`hidden`](/documentation/FileProvider/NSFileProviderFileSystemFlags/hidden)

By default, the system hides the item when the user views the file system.

[`pathExtensionHidden`](/documentation/FileProvider/NSFileProviderFileSystemFlags/pathExtensionHidden)

By default, the system hides the item’s extension when showing its filename.

### Initializers

[`init(rawValue:)`](/documentation/FileProvider/NSFileProviderFileSystemFlags/init(rawValue:))

Creates a new file system flag from the provided value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)