Loading…
wsxy162
Translation changed |
|
wsxy162
Translation changed |
|
wsxy162
Translation uploaded |
|
cjh0613
Translation added |
|
Things to check
Context
Normally, this script will refuse to run if the user id and group id arenot set to the 'mailman' user and group (as defined when you configured
Mailman). If run as root, this script will change to this user and group
before the check is made.
This can be inconvenient for testing and debugging purposes, so the -u flag
means that the step that sets and checks the uid/gid is skipped, and the
program is run as the current user and group. This flag is not recommended
for normal production environments.
Note though, that if you run with -u and are not in the mailman group, you
may have permission problems, such as being unable to delete a list's
archives through the web. Tough luck!
not set to the 'mailman' user and group (as defined when you configured
Mailman). If run as root, this script will change to this user and group
before the check is made.
This can be inconvenient for testing and debugging purposes, so the -u flag
means that the step that sets and checks the uid/gid is skipped, and the
program is run as the current user and group. This flag is not recommended
for normal production environments.
Note though, that if you run with -u and are not in the mailman group, you
may have permission problems, such as being unable to delete a list's
archives through the web. Tough luck!
定义的),此脚本就会拒绝运行。如果以 root 身份运行,在检查进行之前此脚本
将更改为该用户和组。
这对于测试和调试目的可能很不方便,因此 -u 标志表示跳过设定和检查 uid/gid
的步骤,并且程序以当前用户和组的身份运行。此标志不建议在正常生产环境中使用。
但是还要注意,如果你使用 -u 运行并且不在 mailman 用户组中,则可能会有权限
问题,比如无法在 Web 界面上删除列表的
归存档。