QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2536|回复: 4

group

[复制链接]
发表于 2002-11-14 23:44:14 | 显示全部楼层 |阅读模式
两个用户(haha和frined)分属两个组群(haha和friend)。
haha是常规用户,friend是给朋友开的ftp帐号(无shell)。想让haha管理/home/friend的文件。

现在组群friend中加入了haha用户,并将/home/friend设定成775,为何haha向/home/friend里送文件时仍然提示没有写权限?
发表于 2002-11-15 00:34:22 | 显示全部楼层
chown -r haha /home/friend
然后再看看,可以么?
回复

使用道具 举报

 楼主| 发表于 2002-11-15 07:56:53 | 显示全部楼层
[quote:7b886d0a51="sd444"]chown -r haha /home/friend
然后再看看,可以么?[/quote]

可是该目录的所有者应该是friend啊
回复

使用道具 举报

发表于 2002-11-16 17:45:26 | 显示全部楼层
I am suspecting that you did not change the permission correctly.

Did you change the permission of all the files and subdirectories under /home/friend?  If not
# chmod -R 775 /home/friend
should do the work.
回复

使用道具 举报

发表于 2002-11-19 17:52:30 | 显示全部楼层
将 friend 的主目录 (/home/haha/friend)放在 haha (/home/haha)的主目录下。

将  haha 和 friend 都归于一个组,例如 friend 。

将 friend 的 目录 (/home/haha/friend) 和 (/home/haha/friend)下面的文件设为 775 。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-20 05:04 , Processed in 0.095389 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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