当前位置: 技术问答>linux和unix
vsftp 本地用户failed to open directory
来源: 互联网 发布时间:2016-07-01
本文导语: 本帖最后由 bingyuanspace 于 2009-09-11 22:25:03 编辑 我在vsftp里已经允许本地用户可以登录,也成功了,但是打不开目录中包括本身home目录应该怎么做啊!! 已经做了下面几项,而且也不能上传、新建文件夹等 大家看下...
已经做了下面几项,而且也不能上传、新建文件夹等 大家看下吧
# Uncomment this to allow local users to log in.
local_enable=YES
userlist_deny=NO
#user_config_dir=/home/www/
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
local_umask=022
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
#
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
#chown_uploads=YES
#chown_username=whoever
#
#xferlog_file=/var/log/vsftpd.log
#
#
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
|
Selinux 很多限制的