transforms/defaults
changeset 15 21f7a7ab78ba
parent 2 125cd5d2cd9e
child 26 8a9f4e791832
--- a/transforms/defaults	Wed May 19 17:42:26 2010 +0200
+++ b/transforms/defaults	Thu May 20 13:21:58 2010 -0500
@@ -25,57 +25,16 @@
 #
 
 #
-# 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 (?<!r) construct in the reboot-needed transform is a negative
-# lookbehind assertion: it says "only match this regex if the
-# previously matched text does NOT match regex r."  So it will match
-# all files in the various kernel trees, except for .conf files.
-#
-<transform file path=.*kernel/drv/.+\.conf -> default mode 0644>
-<transform file path=.*kernel/drv/.+ -> default mode 0755>
-<transform file path=.*kernel/.+(?<!\.conf)$ -> default reboot-needed true>
-
-#
-# shared objects should generally have mode 0755
+# programs & shared objects should generally have mode 0755
 #
 <transform file path=.*lib/.*\.so.* -> default mode 0755>
+<transform file path=.*bin/.* -> default mode 0755>
 
 #
-# Catch some of the collections of largely read-only files
+# For what's left, go with root:bin 0444 for files, 0755 for directories
 #
-<transform file path=usr/lib/help/.+ -> default mode 0444>
-<transform file path=usr/share/doc/ksh/.+ -> default mode 0644>
-<transform file path=usr/share/ipfilter/.+ -> default mode 0644>
-<transform file path=usr/share/lib/ccs/.+ -> default mode 0644>
-<transform file path=usr/share/lib/java/.+ -> default mode 0644>
-<transform file path=usr/share/lib/locale/com/sun/dhcpmgr/.+\.properties -> default mode 0644>
-<transform file path=usr/share/lib/locale/com/sun/dhcpmgr/.+ -> default mode 0444>
-<transform file path=usr/share/lib/locale/com/sun/.+ -> default mode 0644>
-<transform file path=usr/share/lib/mailx/.+ -> default mode 0644>
-<transform file path=usr/share/lib/nterm/.+ -> default mode 0644>
-<transform file path=usr/share/lib/pub/.+ -> default mode 0644>
-<transform file path=usr/share/lib/sgml/.+ -> default mode 0644>
-<transform file path=usr/share/lib/slp/.+ -> default mode 0644>
-<transform file path=usr/share/lib/tabset/.+ -> default mode 0644>
-<transform file path=usr/share/lib/t.+ -> default mode 0644>
-<transform file path=usr/share/lib/unittab/.+ -> default mode 0644>
-<transform file path=usr/share/lib/zoneinfo/.+ -> default mode 0644>
-<transform file path=usr/share/src/grub/.+ -> default mode 0644>
-<transform file path=usr/share/.+ -> default mode 0444>
+<transform dir file -> default owner root>
+<transform dir file -> default group bin>
+<transform file -> default mode 0444>
+<transform dir -> default mode 0755>
 
-
-#
-# For what's left, go with root:bin 0644, +x for directories
-#
-#
-<transform file dir -> default owner root>
-<transform file dir -> default group bin>
-<transform file -> default mode 0644>
-<transform dir -> default mode 0755>