transforms/defaults
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 31 Jan 2011 15:17:49 -0800
changeset 66 8cac19a5c726
parent 53 e398cb2c4b45
child 75 1f81099246e8
permissions -rw-r--r--
7014727 move gmake to userland (fix group)

#
# 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 (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
#

<transform dir path=etc$ -> default group sys>

#
# LP print service
#
<transform dir path=etc/lp/fd$ -> default owner root>
<transform dir path=etc/lp/fd$ -> default mode 0755>
<transform dir path=etc/lp(/.+){0,1}$ -> default owner lp>
<transform dir path=etc/lp(/.+){0,1}$ -> default group lp>
<transform dir path=etc/lp(/.+){0,1}$ -> default mode 0775>

<transform dir path=usr$ -> default group sys>
<transform dir path=usr/share$ -> default group sys>
<transform dir path=usr/share/locale(/.+){0,1}$ -> default group other>
<transform dir path=usr/gnu/share$ -> default group sys>

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

#
# 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>