21.7 File Permission Access Modes
File permission access modes consist of combinations of the following modes:
Read mode
r
Write mode (mutually exclusive to
a
)
w
Append mode (mutually exclusive to
w
)
a
File locking mode
k
Link mode
l
Link pair rule (cannot be combined with other access
modes)
link
file
->
target
21.7.1 Read Mode (r)
Allows the program to have read access to the resource. Read access is required for
shell scripts and other interpreted content and determines if an executing process can
core dump.
21.7.2 Write Mode (w)
Allows the program to have write access to the resource. Files must have this permission
if they are to be unlinked (removed).
21.7.3 Append Mode (a)
Allows a program to write to the end of a file. In contrast to the
w
mode, the append
mode does not include the ability to overwrite data, to rename, or to remove a file. The
append permission is typically used with applications who need to be able to write to
log files, but which should not be able to manipulate any existing data in the log files.
Profile Components and Syntax
249
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......