Documentation Home
>
System Administration Guide, Volume 2
>
Chapter 17 Securing Files (Tasks)
>
Using Access Control Lists (ACLs)
>
How to Copy an ACL
> Example--Copying an ACL
System Administration Guide, Volume 2
Previous
: How to Set an ACL on a File
Next
: How to Check If a File Has an ACL
Example--Copying an ACL
The following example copies the ACL on
ch2.doc
to
ch3.doc
.
$
getfacl ch2.doc | setfacl -f - ch3.doc
Previous
: How to Set an ACL on a File
Next
: How to Check If a File Has an ACL
© 2010, Oracle Corporation and/or its affiliates