| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1464 人关注过本帖
标题: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
快速回复:a question abt operate permission.
数据加载中...
 
   



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

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