zerol
Soul of New Machine
发贴: 593
|
于 2003-11-27 17:26
这是从Solaris Administration 教程中摘录的,章节是"File Permissions"
All access permissions have been removed, except for the directory indicator on the special file test. Note the main difference between setting files using symbolic codes rather than octal codes: Symbolic codes are relative, numeric codes are absolute. This means that unless you explicitly revoke a file permission when setting another using symbolic codes, it will persist. Thus, if a file already has group write access, and you grant group execute access (or remove group execute access), the write access permission is not removed. However, if you specify only group execute access using an octal code, the group write access will automatically be removed if it has been previously set.
Tip You may well find that in startup scripts and situations where the permissions are unknown in advance, using octal codes is safer. EXAM TIP You must be able to interpret every element of an octal permissions code.
★☆ The Truth Lies Somewhere In The Middle ☆★
|