change dictdit and chrootdir "$sj3var_dir/dict".
This commit is contained in:
parent
1f332c3320
commit
78e5f0a504
3 changed files with 7 additions and 7 deletions
|
|
@ -99,7 +99,7 @@ struct dict_entry {
|
|||
TAILQ_ENTRY(dict_entry) entries;
|
||||
} *read_dict, *open_dict;
|
||||
|
||||
int dir_mode = -1;
|
||||
int dir_mode = S_IRWXU;
|
||||
int file_mode = S_IRUSR | S_IWUSR;
|
||||
|
||||
TAILQ_HEAD(, allow_user_entry) allow_user_head;
|
||||
|
|
|
|||
|
|
@ -31,12 +31,12 @@ sj3.set_server {
|
|||
|
||||
-- chroot_dir: String
|
||||
-- chrooted path
|
||||
chroot_dir = prefix .. "/spool",
|
||||
chroot_dir = prefix .. "/dict",
|
||||
|
||||
-- dict_dir: String
|
||||
-- dictionary name
|
||||
-- Note: this directory is opened after chroot
|
||||
dict_dir = "/sj3",
|
||||
dict_dir = "/",
|
||||
|
||||
-- strict_auth: Boolean
|
||||
-- check always peer userid for security.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue