code: def _apply_unix_permissions(self, request: Request, response: Response):
          '''Fetch and apply Unix permissions.
  
          Coroutine.
          '''
          files = yield from self._fetch_parent_path(request)
  
          if not files:
              return
  
          filename = posixpath.basename(request.file_path)
  
          for file_entry in files:
              if file_entry.name == filename and file_entry.perm:
                  _logger.debug(
                      'Set chmod {} o{:o}.',
                      response.body.name, file_entry.perm
                  )
                  os.chmod(response.body.name, file_entry.permf _apply_unix_permissions(self, request: Request, response: Response):
          '''Fetch and apply Unix permissions.
  
          Coroutine.
          '''
          files = yield from self._fetch_parent_path(request)
  
          if not files:
              return
  
          filename = posixpath.basename(request.file_path)
  
          for file_entry in files:
              if file_entry.name == filename and file_entry.perm:
                  _logger.debug(
                      'Set chmod {} o{:o}.',
                      response.body.name, file_entry.perm
                  )
                  os.chmod(response.body.name, file_entry.perm)
docs: Fetch and apply Unix permissions.
  
          Coroutine.