# ContainerFileSystemItem Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ContainerFileSystemItem](/reference/api/csharp/aspire.hosting/containerfilesystemitem.md)
- Kind: `Properties`
- Members: `4`

Represents a base class for file system entries in a container.

## Group

- Name: `Group`
- Modifiers: `nullable` `get; set`
- Returns: `int?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

The GID of the group of the file or directory. If set to null, the GID will be inherited from the parent directory or defaults.

```csharp
public int? Group { get; set; }
```

## Mode

- Name: `Mode`
- Modifiers: `get; set`
- Returns: `UnixFileMode`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

The permissions of the file or directory. If set to 0, the permissions will be inherited from the parent directory or defaults.

```csharp
public UnixFileMode Mode { get; set; }
```

## Name

- Name: `Name`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

The name of the file or directory. Must be a simple file or folder name and not include any path separators (eg, / or \). To specify parent folders, use one or more [ContainerDirectory](/reference/api/csharp/aspire.hosting/containerdirectory.md) entries.

```csharp
public string Name { get; set; }
```

## Owner

- Name: `Owner`
- Modifiers: `nullable` `get; set`
- Returns: `int?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

The UID of the owner of the file or directory. If set to null, the UID will be inherited from the parent directory or defaults.

```csharp
public int? Owner { get; set; }
```
