diff --git a/apps/emqx_plugins/src/emqx_plugins_schema.erl b/apps/emqx_plugins/src/emqx_plugins_schema.erl index 7b7b3c15e..8d04923ff 100644 --- a/apps/emqx_plugins/src/emqx_plugins_schema.erl +++ b/apps/emqx_plugins/src/emqx_plugins_schema.erl @@ -32,7 +32,9 @@ fields("plugins") -> Manage EMQ X plugins.
Plugins can be pre-built as a part of EMQ X package, -or installed as a standalone package to the specific directory. +or installed as a standalone package in a location specified by +install_dir config key +
The standalone-installed plugins are referred to as 'external' plugins. """ }. @@ -82,6 +84,9 @@ install_dir(desc) -> """ In which directory are the external plugins installed. The plugin beam files and configuration files should reside in the sub-directory named as emqx_foo_bar-0.1.0. +
+NOTE: For security reasons, this directory should **NOT** be writable +by anyone expect for emqx (or any user which runs EMQ X) """. %% TODO: when we have some prebuilt plugins, change this function to: