摘要: 1 字符表示法 1)chmod [-R] 权限(mode)file 注:[-R]会将目录下所有权限都设置成指定的 举例说明:假设目录名为a chmod u-w a user减少w权限 chmod ug+x a user和group增加x权限 chmod ugo-x a user和group和othe 阅读全文
posted @ 2017-01-15 19:20 angelfishone 阅读(14231) 评论(0) 推荐(0) 编辑
摘要: 1 只读权限,用r表示(read):可以读取文件或者列出目录的内容 2 可写权限,用w表示(write):可以删除文件或目录 3 可执行权限,用x表示(execute):可以执行可执行文件;可以进入目录并使用cd切换进入目录 4 没有任何权限,用-表示 linux文件和目录详细解读 linux权限验 阅读全文
posted @ 2017-01-15 17:02 angelfishone 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 1 linux 安全模型:(多任务,多用户的操作系统) 1)使用user和group控制使用者对文件的存储权限。 2)用户使用账户和口令登录linux 3)每个文件都有owner(创建者),owner属于某个group 4)每个程序都有owner和group 2用户概述 1)每个用户(user)都有 阅读全文
posted @ 2017-01-15 16:45 angelfishone 阅读(1868) 评论(0) 推荐(0) 编辑