1 # 2 # CDDL HEADER START 3 # 4 # The contents of this file are subject to the terms of the 5 # Common Development and Distribution License (the "License"). 6 # You may not use this file except in compliance with the License. 7 # 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 # or http://www.opensolaris.org/os/licensing. 10 # See the License for the specific language governing permissions 11 # and limitations under the License. 12 # 13 # When distributing Covered Code, include this CDDL HEADER in each 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 # If applicable, add the following below this CDDL HEADER, with the 16 # fields enclosed by brackets "[]" replaced with your own identifying 17 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # 19 # CDDL HEADER END 20 # 21 22 # 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 27 All tests under in this directory it to verify NFSv4 ACL, 28 There are two subdirs: 29 - trivial is to verify file/dir tools work well for acl. 30 - nontrivial is to verify NFSv4 ACL 31 32 The exported filesystem on server side should be ZFS. 33 e.g. when SETUP variable is set to nfsv4, the user 34 should set SHRDIR variable to a directory based on ZFS. 35 Otherwise, all acl tests won't run. 36 37 When SETUP is set to none, the user should create the 38 following groups and users on all test machines, and set 39 them to corresponding variables. 40 41 - One test groups 42 ACL_STAFF_GROUP 43 44 - Two test users in ACL_STAFF_GROUP group: 45 ACL_STAFF1, ACL_STAFF2 46 47 - One test user in root group: 48 ACL_ADMIN 49 50 In addition, the exported filesystem on the server should 51 be shared with the option "anon=0" or "root=client_name" 52