docs: def _make_access_from_stat(self, stat_result):
          """Make an *access* dictionnary from a stat result.
          """
          access = {}
          access['permissions'] = Permissions(mode=stat_result.st_mode).dump()
          access['gid'] = stat_result.st_gid
          access['uid'] = stat_result.st_uid
  
          if self.platform in ("linux", "darwin", "freebsd"):
              def entry_name(db, _id):
                  entry = self._exec_command('getent {} {}'.format(db, _id))
                  name = next(iter(entry.split(b':')))
                  return name.decode(self.locale or 'utf-8')
              access['group'] = entry_name('group', access['gid'])
              access['user'] = entry_name('passwd', access['uid'])
  
          return access