---
title: "ezgh files access-points create"
description: "Create an access point."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh files access-points create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh files access-points create <name> --file-system f [--path p] [--posix-uid u --posix-gid g] [flags] [--wait]
```

Create an access point that exports `--path` (default /) of a file system. When the folder doesn't exist, `--owner-uid`, `--owner-gid` and `--permissions` create it; without them the create fails. `--posix-uid` and `--posix-gid` make every request act as that user; otherwise the file system's root squash applies. `--wait` waits until it's available and prints it.

Part of [`ezgh files access-points`](/cli/reference/files-access-points).

## Examples

```sh
ezgh files access-points create wp-content --file-system web --path /wp-content \
  --owner-uid 33 --owner-gid 33 --permissions 755 --posix-uid 33 --posix-gid 33 --wait
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--description` | string |  | what it's for |
| `--file-system` | string |  | the file system (fsy\_…, UUID or name) |
| `--owner-gid` | uint32 |  | the group of the folder, when it's created |
| `--owner-uid` | uint32 |  | the owner of the folder, when it's created |
| `--path` | string |  | the folder it exports, an absolute path in the file system (default /) |
| `--permissions` | string |  | the folder's mode, when it's created, in octal (755) |
| `--posix-gid` | uint32 |  | the group every request acts as |
| `--posix-uid` | uint32 |  | the user every request acts as |
| `--tag` | string, repeatable |  | a tag, key=value; repeat for more |
| `--wait` | boolean |  | wait until it's available, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/files-access-points-create/index.mdx
