Changeset 506
- Timestamp:
- 12/05/2009 19:16:20 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
confman.conf.5.in (modified) (1 diff)
-
confmancommon.sh.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/confman.conf.5.in
r462 r506 135 135 be treated as singularities by 136 136 .Xr confman 8 . 137 .It CONF_GROUP 138 Defaults to "wheel". Specify which 139 .Xr group 5 140 should have access to various state files. 137 141 .It CONF_WARNING 138 142 This is the first line of confman banners for managed files. -
trunk/confmancommon.sh.in
r492 r506 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.
