caption: Set user data directory
desc: |-
  Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for storing user data.

        If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use the provided directory regardless whether the user has specified the '--user-data-dir' flag or not. To avoid data loss or other unexpected errors this policy should not be set to a directory used for other purposes, because <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> manages its contents.

        See https://support.google.com/chrome/a?p=Supported_directory_variables for a list of variables that can be used.

        If this policy is left not set the default profile path will be used and the user will be able to override it with the '--user-data-dir' command line flag.
example_value: ${users}/${user_name}/Chrome
features:
  dynamic_refresh: false
  per_profile: false
  platform_only: true
label: Set user data directory
owners:
- file://components/policy/OWNERS
- pastarmovj@chromium.org
schema:
  type: string
supported_on:
- chrome.win:11-
- chrome.mac:11-
tags:
- local-data-access
type: string
