找回密码
 注册
查看: 775|回复: 1

proftpd 为什么在ftp里总不能改属性

[复制链接]
发表于 2006-4-14 01:09:52 | 显示全部楼层 |阅读模式
我按下面的方法设(limit那段试了nn次,n种方法),但用ftp1登录ftp后,目录属性权限怎么也改不了,总是说operation not permitted
也试过用chown ftp1 /home/www/www chmod u+xwr /home/www/www ,结果还是不行。到底怎么设啊。。我快疯了。。。
# Set the user and group under which the server will run.
User ftp1
Group ftpusers
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
DefaultRoot /home/www/www

# Normally, we want files to be overwriteable.
{Directory />
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
{Limit ALL>
AllowUser ftp1
{/Limit>
{/Directory>

PS 最后4个{应为<

奇怪的是我用root远程登录设目录/home/www/www下的某文件夹为777时,这时ftp上此目录怎么改都行。。。
请问,到底怎么设才能让ftp上有全权限啊。。
发表于 2006-4-16 14:14:48 | 显示全部楼层
这好像和ftp服务也就是proftpd无关。
你把proftpd服务关了。
在本机用ftp1登陆。也不能修改属性。也就是说你的用户和目录权限弄得不对。
我的建议是:
删除ftp1用户 ,和他的家目录。重建。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-12 21:43 , Processed in 0.021206 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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