Print this page
4023 - Typo in file(1) manpage and various others

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man5/acl.5
          +++ new/usr/src/man/man5/acl.5
   1    1  '\" te
   2    2  .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    4  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    5  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH ACL 5 "Sep 29, 2008"
        6 +.TH ACL 5 "Sep 10, 2013"
   7    7  .SH NAME
   8    8  acl \- Access Control Lists
   9    9  .SH DESCRIPTION
  10   10  .sp
  11   11  .LP
  12   12  Access control lists (ACLs) are discretionary access control mechanisms that
  13   13  grant and deny access to files and directories. Two different ACL models are
  14   14  supported in the Solaris release:POSIX-draft ACLs and NFSv4 ACLs.
  15   15  .sp
  16   16  .LP
↓ open down ↓ 788 lines elided ↑ open up ↑
 805  805  .sp
 806  806  .LP
 807  807  Use the following to determine if a file has a trivial ACL:
 808  808  
 809  809  .sp
 810  810  .in +2
 811  811  .nf
 812  812  istrivial = acl_trivial("file")
 813  813  
 814  814  if (istrivial == 0)
 815      -printf("file %s has a trivial ACL\n", file);
      815 +printf("file %s has a trivial ACL\en", file);
 816  816  else
 817      -printf("file %s has a NON-trivial ACL\n", file);
      817 +printf("file %s has a NON-trivial ACL\en", file);
 818  818  \&...
 819  819  .fi
 820  820  .in -2
 821  821  
 822  822  .LP
 823  823  \fBExample 4 \fRRemoving all ACLs from a File
 824  824  .sp
 825  825  .LP
 826  826  Use the following to remove all ACLs from a file, and set a new mode, owner,
 827  827  and group:
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX