超级用户 发表于 2002-11-14 23:44:14

group

两个用户(haha和frined)分属两个组群(haha和friend)。
haha是常规用户,friend是给朋友开的ftp帐号(无shell)。想让haha管理/home/friend的文件。

现在组群friend中加入了haha用户,并将/home/friend设定成775,为何haha向/home/friend里送文件时仍然提示没有写权限?

sd444 发表于 2002-11-15 00:34:22

chown -r haha /home/friend
然后再看看,可以么?

超级用户 发表于 2002-11-15 07:56:53

chown -r haha /home/friend
然后再看看,可以么?

可是该目录的所有者应该是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.

gugong 发表于 2002-11-19 17:52:30

将 friend 的主目录 (/home/haha/friend)放在 haha (/home/haha)的主目录下。

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

将 friend 的 目录 (/home/haha/friend) 和 (/home/haha/friend)下面的文件设为 775 。
页: [1]
查看完整版本: group