如何了解目录的rwx权限? [英] How to understand rwx permissions for directories?

查看:110
本文介绍了如何了解目录的rwx权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

读取,写入和执行目录是什么意思?它在文件上很直观,但对于目录我不理解.

What does it mean to read, write, and execute a directory? It's intuitive on files, but I don't understand it for directories.

推荐答案

如果您具有目录的写入权限,则可以创建新条目(文件/文件夹/等).

If you have write permission for a directory, you can create new entries (files/folders/etc).

如果您具有目录的读取权限,则可以列出目录的内容ls.

If you have read permission for a directory, you may list ls the directories contents.

如果您具有目录的执行权限,则可以将chdir更改为该目录.

If you have execute permission for a directory, you may change chdir into that directory.

有关更多信息,请参见以下线程:

For more information, please see this thread: http://www.unix.com/unix-dummies-questions-answers/98744-about-read-write-execute-permissons-directory.html

这篇关于如何了解目录的rwx权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆