标题:a question abt operate permission.
取消只看楼主
aipb2OO7
Rank: 1
等 级:新手上路
帖 子:41
专家分:0
注 册:2007-8-30
 问题点数:0 回复次数:2 
a question abt operate permission.
description :
I use root status to create a directory, and set the access permission only to owner.
This is an ex:
mkdir -m 700 test (root status)
Then I change my status to a general user.
Now I can't open the dir-"test" and can't do operation like "ls" on it.This is all right because of my setting(700).
But the problem is the general user can delete the dir-"test".
Why?The other user("here means general user")have no right abt "w" mod(means modify delete copy...).
I think it's too dengerous,or sth. wrong with my operations.

Pls clear me!

Sorry ,no chinese input.
搜索更多相关主题的帖子: permission question abt operate 
2007-10-07 16:13
aipb2OO7
Rank: 1
等 级:新手上路
帖 子:41
专家分:0
注 册:2007-8-30
得分:0 
By the way, my os is ubuntu7.04.

[glow=255,yellow,5]菜鸟一个.以后靠你们了..[/glow]
2007-10-07 16:14
aipb2OO7
Rank: 1
等 级:新手上路
帖 子:41
专家分:0
注 册:2007-8-30
得分:0 
Yes,you mean like this:

test1 (created by user)

test1/test2 (test2 created by root)

so user can delete test2


but I think the test2 's strribute is "rwx------" so the others can't operate on it except root.
help me.

[glow=255,yellow,5]菜鸟一个.以后靠你们了..[/glow]
2007-10-07 16:41



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-175648-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.770941 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved