Book Image

Oracle Solaris 11: First Look

By : Philip P. Brown
Book Image

Oracle Solaris 11: First Look

By: Philip P. Brown

Overview of this book

Oracle Solaris provides innovative, built-in features that deliver breakthrough high availability, advanced security, efficiency, and industry-leading scalability and performance to help businesses grow. "Oracle Solaris 11: First Look" covers the new features and functionality of Oracle Solaris 11 and how these new features and improvements will make it easier to deploy services to the enterprise while improving performance and reducing total cost of ownership.This book starts with coverage of Image Packaging System and the new installation methods. It then moves swiftly to network configuration. The book also includes some security features and improvements.  
Table of Contents (19 chapters)
Oracle Solaris 11: First Look
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
IPS Package Reference
New ACL Permissions and Abbreviations
Index

Appendix B. New ACL Permissions and Abbreviations

As mentioned in Chapter 6, ZFS – Now You Can't Ignore It, chmod is now responsible for setting ACLs on files. It allows for both a long form and a short form. For convenience, here is a simple table of all ACL types. Please note that some things are only applicable to files, or conversely, to directories. Additionally, sometimes you must use a different verbose name for directories versus files.

It is nice to note that the old standby rwx letter abbreviations in chmod mean the same thing they always have. For convenience, here again is the example usage given previously, to allow user mysql to write to the file /etc/zshrc. The first line is equivalent in result to the second one:

chmod A+user:mysql:write_data:allow/etc/zshrc
chmod A+user:mysql:w:allow/etc/zshrc

The following is a table with the full set of allowable ACLs:

Abbreviation

Verbose parameter

a

read_attributes

A

write_attributes

c

read_acl (allowed to see what the ACLs are)

C

write_acl (allowed to set ACLs)

d

delete (the file)

D (directory only)

delete_child

O

write_owner ( change owner of file/directory)

p (file only)

append_data (not implemented yet)

p (directory only)

add_subdirectory

r (file only)

read_data

r (directory only)

list_directory

S

synchronize (not implemented yet)

R

read_xattr (extended attributes)

w

write_data

W

write_xattr (extended attributes)

x

execute