Novell SuSE Linux Professional 9.2 Upgrade [Strong Encryption 128 Bit] 00662644457260 ユーザーズマニュアル

製品コード
00662644457260
ページ / 324
The output of
ls
does not reveal much of a change compared to an
ls
on a
file without an ACL.
Roadmap
is owned by
tux
who belongs to the group
project3
.
tux
holds both write and read access to this file and his group as well
as all other users have read access. The only difference that distinguishes this file
from a file without an ACL is the additional
+
in the first column holding the per-
mission bits.
Get details about the ACL by executing
getfacl Roadmap
:
# file: Roadmap
# owner: tux
# group: project3
user::rw-
user:jane:rw-
effective: r--
group::r--
group:djungle:rw-
effective: r--
mask::r--
other::---
The first three lines of the output do not hold any information not available with
ls -l
. These lines only state file name, owner, and owning group. Lines 4 to
9 hold the ACL entries. Conventional access permissions represent a subset of
those possible when using ACLs. Our example ACL grants read and write ac-
cess to the owner of the file as well as to a user
jane
(lines 4 and 5). The conven-
tional concept has been expanded allowing access to an extra user. The same ap-
plies to the handling of group access. The owning group holds read permissions
(line 6) and the group
djungle
holds read and write permissions. The
mask
en-
try in line 8 reduces the effective permissions for the user
jane
and the group
djungle
to read access. Other users and groups do not get any kind of access to
the file (line 9).
Only very basic information has been provided here. Find further background
information about ACLs in the Administration Guide.
21.3
Important Linux Commands
This section gives insight into the most important commands of your SUSE
LINUX system. Along with the individual commands, parameters are listed and,
where appropriate, a typical sample application is introduced. To learn more
about the various commands, use the
manual pages, accessed with
man
followed
by the name of the command, for example,
man ls
.
270
21.3. Important Linux Commands