提交 421eeecc 编写于 作者: V Vitaly Baranov

Add the section user_directories to the default config.

上级 c2f762e2
...@@ -212,8 +212,17 @@ ...@@ -212,8 +212,17 @@
<!-- Directory with user provided files that are accessible by 'file' table function. --> <!-- Directory with user provided files that are accessible by 'file' table function. -->
<user_files_path>/var/lib/clickhouse/user_files/</user_files_path> <user_files_path>/var/lib/clickhouse/user_files/</user_files_path>
<!-- Path to folder where users and roles created by SQL commands are stored. --> <!-- Sources to read users, roles, access rights, profiles of settings, quotas. -->
<access_control_path>/var/lib/clickhouse/access/</access_control_path> <user_directories>
<users_xml>
<!-- Path to configuration file with predefined users. -->
<path>users.xml</path>
</users_xml>
<local_directory>
<!-- Path to folder where users created by SQL commands are stored. -->
<path>/var/lib/clickhouse/access/</path>
</local_directory>
</user_directories>
<!-- External user directories (LDAP). --> <!-- External user directories (LDAP). -->
<ldap_servers> <ldap_servers>
...@@ -256,9 +265,6 @@ ...@@ -256,9 +265,6 @@
--> -->
</ldap_servers> </ldap_servers>
<!-- Path to configuration file with users, access rights, profiles of settings, quotas. -->
<users_config>users.xml</users_config>
<!-- Default profile of settings. --> <!-- Default profile of settings. -->
<default_profile>default</default_profile> <default_profile>default</default_profile>
......
...@@ -4,4 +4,7 @@ ...@@ -4,4 +4,7 @@
<custom_settings_prefixes>custom_</custom_settings_prefixes> <custom_settings_prefixes>custom_</custom_settings_prefixes>
<path>/var/lib/clickhouse/</path> <path>/var/lib/clickhouse/</path>
<tmp_path>/var/lib/clickhouse/tmp/</tmp_path> <tmp_path>/var/lib/clickhouse/tmp/</tmp_path>
<!-- For tests which check compatibility with older versions. -->
<users_config>users.xml</users_config>
</yandex> </yandex>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册