示例一:只能上传下载,不能更改文件夹删除
示例二:开启所有权限
示例一:
#定义用户的目录
local_root=/mnt/sda8/ftp
chroot_list_enable=no
write_enable=YES
#以下为允许的命令,详细命令请参与资料
cmds_allowed=FEAT,REST,CWD,LIST,MDTM,MKD,NLST,PASS,PASV,PORT,PWD,QUIT,RMD,SIZE,STOR,TYPE,USER,ACCPE,CDUP,HELP,MODE,NOOP,REIN,STAT,STOU,STRU,SYST,RETR
示例二:
local_root=/mnt/sda8/ftp
chroot_list_enable=no
anonymous_enable=YES
local_umask=022
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES