code: def _set_ownership(self):
          
          if self.owner or self.group:
              args = (
                  self.path,
                  self.owner if self.owner else -1,
                  self.group if self.group else -1,
              )
              logger.debug("changing ownership bits of %s to %s", self.path, args)
              os.chown(*args)
docs: set ownership of the directory: user and group
  
          :return: None