for sd in subdirs:
                # synthesize a new action and invoke it
                synth = DirChownAction(paths.pjoin(directory, sd), self.user,
                                       self.group, self.file_context)
                synth(filesys)