- 论坛徽章:
- 33
|
下面是man find 中的 EXAMPLES, 希望对楼主有帮助.- find . -perm 664
- Search for files which have read and write permission for their owner,
- and group, but which other users can read but not write to. Files
- which meet these criteria but have other permissions bits set (for
- example if someone can execute the file) will not be matched.
- find . -perm -664
- Search for files which have read and write permission for their owner
- and group, and which other users can read, without regard to the pres-
- ence of any extra permission bits (for example the executable bit).
- This will match a file which has mode 0777, for example.
复制代码 |
|