Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 04-08-2006 Installation Manual page 360

Table of Contents

Advertisement

Example 18.2 Sample Output Showing Directory Permissions
drwxrwxr-x 1 tux project3 35 Jun 21 15:15
In
owner (tux) and the owning group (project3) of the directory ProjectData
are easy to recognize. In contrast to the file access permissions from
(page 359), the set reading permission (r) means that the contents of the directory
can be shown. The write permission (w) means that new files can be created. The
executable permission (x) means that the user can change to this directory. In the
above example, the user tux as well as the members of the group project3 can
change to the ProjectData directory (x), view the contents (r), and add or
delete files (w). The rest of the users, on the other hand, are given less access. They
may enter the directory (x) and browse through it (r), but not insert any new files
(w).
18.2.2 Modifying File Permissions
Changing Access Permissions
The access permissions of a file or directory can be changed by the owner and, of
course, by root with the command chmod followed by the parameters changing
the permissions and one or more filenames. The parameters form different cate-
gories:
1.
• u (user)—owner of the file
• g (group)—group that owns the file
• o (others)—additional users (if no parameter is given, the changes apply to all
2.
3.
• r—read
• w—write
360
Installation and Administration
Example 18.2, "Sample Output Showing Directory Permissions"
Users concerned
categories)
A character for deletion (–), setting (=), or insertion (+)
The abbreviations
ProjectData
(page 360), the
File Access

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents