Package conary :: Package build :: Module build :: Class SupplementalGroup
[hide private]
[frames] | no frames]

Class SupplementalGroup

source code

  action.Action --+                
                  |                
action.RecipeAction --+            
                      |            
            BuildAction --+        
                          |        
      _UserGroupBuildAction --+    
                              |    
                          Group --+
                                  |
                                 SupplementalGroup

NAME

r.SupplementalGroup() - Ensures a user is associated with a supplemental group

SYNOPSIS

r.SupplementalGroup('user', 'group', preferred_gid)

DESCRIPTION

The r.SupplementalGroup class ensures that a user is associated with a supplemental group that is not associated with any user.

KEYWORDS

The r.SupplementalGroup class accepts the following keyword arguments, with default values shown in parentheses where applicable.

user : (None) Specify the user name to be associated with a supplemental group

group : (None) Specify the supplemental group name

preferred_gid : (None) Specify the supplemental group identification number

EXAMPLES

r.SupplementalGroup('breandon', 'ateam', 560)

Uses r.SupplementalGroup to add the user breandon to the supplemental group ateam, and specifies the preferred group identification number value of '560'.

Instance Methods [hide private]

Inherited from Group: __init__, do

Inherited from _UserGroupBuildAction: doSuggestAutoBuildReqs

Inherited from BuildAction: doAction, initManifest, missingFiles

Inherited from action.RecipeAction: doPrep, init_error

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Class Variables [hide private]
  keywords = {'name': None, 'preferred_gid': None, 'user': None}
  keywordOrder = ['user', 'name', 'preferred_gid']

Inherited from BuildAction: useExplicitManifest