transforms/defaults
author Norm Jacobs <Norm.Jacobs@Sun.COM>
Thu, 20 May 2010 13:21:58 -0500
changeset 15 21f7a7ab78ba
parent 2 125cd5d2cd9e
child 26 8a9f4e791832
permissions -rw-r--r--
add more rules to transforms, fix up some existings rules
#
# CDDL HEADER START
#
# 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.
#
# 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.
#
# 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]
#
# CDDL HEADER END
#

#
# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

#
# programs & shared objects should generally have mode 0755
#
<transform file path=.*lib/.*\.so.* -> default mode 0755>
<transform file path=.*bin/.* -> default mode 0755>

#
# For what's left, go with root:bin 0444 for files, 0755 for directories
#
<transform dir file -> default owner root>
<transform dir file -> default group bin>
<transform file -> default mode 0444>
<transform dir -> default mode 0755>