# ContainerFilesOptions

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Options for creating or updating files and directories in a container from polyglot apphosts.

## Definition

```go
type ContainerFilesOptions struct {
    DefaultOwner *float64 `json:"DefaultOwner"`
    DefaultGroup *float64 `json:"DefaultGroup"`
    Umask        *float64 `json:"Umask"`
}
```

## Fields

- `DefaultOwner`: `*float64` `optional` -- The default owner UID for the created or updated file system entries. Defaults to 0 for root if not set.
- `DefaultGroup`: `*float64` `optional` -- The default group ID for the created or updated file system entries. Defaults to 0 for root if not set.
- `Umask`: `*float64` `optional` -- The Unix umask to apply to files or directories without explicit permissions. Use octal literals in JavaScript or TypeScript, for example `0o022`.
