collective.recipe.grp (1.0)
by
Olha Pelishok
—
last modified
2011-02-18
Released on 2011-02-18 by Alex Clark for Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
- collective.recipe.grp download link: http://plone.org/products/collective.recipe.grp/releases
- Homepage of collective.recipe.grp: http://plone.org/products/collective.recipe.grp/
- collective.recipe.grp repository: http://svn.plone.org/svn/collective/collective.recipe.grp/
- Description source: http://plone.org/products/collective.recipe.grp/
A window unto Python's Standard Library grp function
This is a one line recipe to allow buildout users to refer to ${grp:GROUP} to get the current user's group. In other words, the results of id -g -n on UNIX systems for the person executing the buildout. This can be handy in combination with the 'gocept.recipe.env' recipe, when setting ownership on the contents of a buildout, e.g. chown -R ${env:USER}:${grp:GROUP} ${buildout:directory}