全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Permission bits?

Definition 8.11 University Computer Science — Year 1 · 第 8 章 — The Shell

The permission bits of a file are nine bits, read (r), write (w) and execute (x) for its owner, for the members of its group, and for all other users, written rwxr-x--- by ls -l or as three octal digits, one per class, each the sum of 4 (read), 2 (write) and 1 (execute): 750. For a directory, r allows listing it, w creating and removing names in it, and x entering it.

The mode -rwxr-x---, octal 750: the owner may read, write and execute; the group may read and execute; others have no access. The first character is the type: - for a file, d for a directory, l for a symbolic link.
The mode -rwxr-x---, octal 750: the owner may read, write and execute; the group may read and execute; others have no access. The first character is the type: - for a file, d for a directory, l for a symbolic link.
在原文中阅读 →