diff -r d63a2608b656 -r 125cd5d2cd9e transforms/defaults --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/transforms/defaults Fri May 07 13:13:04 2010 -0500 @@ -0,0 +1,81 @@ +# +# 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. +# + +# +# This isn't really a transform, but it's a valid default. +# +#set name=org.opensolaris.consolidation value=osnet + +# +# For kernel/drv, set .conf files to mode 0644. Assume all other +# files there are drivers, and give them mode 0755 and reboot-needed. +# +# The (? default mode 0644> + default mode 0755> + default reboot-needed true> + +# +# shared objects should generally have mode 0755 +# + default mode 0755> + +# +# Catch some of the collections of largely read-only files +# + default mode 0444> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0444> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0644> + default mode 0444> + + +# +# For what's left, go with root:bin 0644, +x for directories +# +# + default owner root> + default group bin> + default mode 0644> + default mode 0755>