def put(self, paths, id): root = self.rootmanager.get_root_by_name(id, self.packagemanager, interactive=True) self.builder.set_interactive() username, uid = self.builder.build_user_info() homedir = self.builder.build_user_home(username) for path in paths: root.copy_in(path, homedir, sameuser=True)