Changeset 560
- Timestamp:
- 12/16/2011 18:10:23 (5 months ago)
- Location:
- branches/confman-1.9
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
confman.conf.5.in (modified) (1 diff)
-
confmancommon.sh.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/confman-1.9
-
branches/confman-1.9/confman.conf.5.in
r559 r560 139 139 be treated as singularities by 140 140 .Xr confman 8 . 141 .It CONF_GROUP 142 Defaults to "wheel". Specify which 143 .Xr group 5 144 should have access to various state files. 141 145 .It CONF_WARNING 142 146 This is the first line of confman banners for managed files. -
branches/confman-1.9/confmancommon.sh.in
r494 r560 133 133 fi 134 134 135 # Test if the specified group exists before setting folder groups135 # Create and/or fix permissions on our local state directory 136 136 if ! [ -d "$REPO_DB" ] ; then 137 if ! [ conf_checkgroup ]; then 138 $SUDO $install_cmd -d -o root -m 770 "$REPO_DB" 139 else 140 $SUDO $install_cmd -d -o root -g $CONF_GROUP -m 770 "$REPO_DB" 141 fi 142 $SUDO chmod g+s "$REPO_DB" 137 $SUDO $install_cmd -d -o root -g $CONF_GROUP -m 2770 "$REPO_DB" 143 138 fi 139 find $REPO_DB -not -group $CONF_GROUP -exec $SUDO chgrp $CONF_GROUP {} \; \ 140 -exec chmod g+r {} \; 144 141 145 142 # And we'll set a trap:
Note: See TracChangeset
for help on using the changeset viewer.
