Что может привести к тому, что блочное устройство каким-то образом станет меньше, чем его разделы?

Ответ нашел по этой ссылке . Здесь отрывок из моего '/etc/vsftpd.conf' :

# This powerful option allows the override of any config option specified
# in the manual page, on a per-user basis. Usage is simple, and is best
# illustrated with an example. If you set user_config_dir to be /etc/vsftpd_user_conf
# and then log on as the user "chris", then vsftpd will apply the settings
# in the file /etc/vsftpd_user_conf/chris for the duration of the session.
# Default: (none)
user_config_dir=/etc/vsftpd/vsftpd-user-conf

Каждый раз, когда новому виртуальному пользователю ftp нужен личный каталог ftp, в каталоге '/ etc / vsftpd / vsftpd-user-conf' я создаю файл с именем пользователя, в котором я определяю личный каталог ftp и аутентификацию. на нем (RO или RW). Пример для пользователя 'test' (файл '/ etc / vsftpd / vsftpd-user-conf / test'):

# vsftpd per-user basis config file (override of any config option specified
# in the vsftpd server config file)
#
# TEMPLATE
#
# User test - Description for user test
#

# Set local root
local_root=/srv/vsftpd/test

# Disable any form of FTP write command.
# Allowed values: YES/NO
write_enable=YES

2
27.10.2016, 15:21
0 ответов

Теги

Похожие вопросы