change dictdit and chrootdir "$sj3var_dir/dict".

This commit is contained in:
iratqq 2008-02-08 03:35:56 +00:00
commit 78e5f0a504
3 changed files with 7 additions and 7 deletions

View file

@ -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;

View file

@ -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.