# ContainerFileSystemItem

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFileSystemCallbackAnnotation.cs)

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

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public abstract class ContainerFileSystemItem
{
    // ...
}
```

## Properties

- [Group](/reference/api/csharp/aspire.hosting/containerfilesystemitem/properties.md#group) : `int?` `get; set` -- 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.
- [Mode](/reference/api/csharp/aspire.hosting/containerfilesystemitem/properties.md#mode) : `UnixFileMode` `get; set` -- The permissions of the file or directory. If set to 0, the permissions will be inherited from the parent directory or defaults.
- [Name](/reference/api/csharp/aspire.hosting/containerfilesystemitem/properties.md#name) : `string` `get; set` -- 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.
- [Owner](/reference/api/csharp/aspire.hosting/containerfilesystemitem/properties.md#owner) : `int?` `get; set` -- 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.
