Skip to content

ezgh files access-points create

Create an access point.

Updated View as Markdown
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.

Examples

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.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close