OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 4736|回复: 1

vsftp匿名用户权限修改失败,无法删除文件

[复制链接]

2

主题

4

帖子

0

精华

新手上路

积分
22
金钱
22
注册时间
2017-10-17
在线时间
7 小时
发表于 2020-11-5 19:05:10 | 显示全部楼层 |阅读模式
5金钱
vsftp的配置文件中已经对匿名用户的权限配置做了修改,但是匿名登陆时还是无法删除文件和创建新的文件,感觉权限修改没有成功,麻烦大神帮忙看看还有哪里没有配置好?

# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
anon_umask=022
#
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
#
anon_other_write_enable=YES
#



....

# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES
local_root=/opt/log
anon_root=/opt/ftp
file_open_mode=0755
use_localtime=YES



正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

2

主题

4

帖子

0

精华

新手上路

积分
22
金钱
22
注册时间
2017-10-17
在线时间
7 小时
 楼主| 发表于 2020-11-10 15:42:48 | 显示全部楼层
没有哪位大神来解答下吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-25 18:29

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表