code: def get_acls_recursive(self, path, depth, include_ephemerals):
          
          yield path, self.get_acls(path)[0]
  
          if depth == -1:
              return
  
          for tpath, _ in self.tree(path, depth, full_path=True):
              try:
                  acls, stat = self.get_acls(tpath)
              except NoNodeError:
                  continue
  
              if not include_ephemerals and stat.ephemeralOwner != 0:
                  continue
  
              yield tpath, acls
docs: A recursive generator wrapper for get_acls
  
          :param path: path from which to start
          :param depth: depth of the recursion (-1 no recursion, 0 means no limit)
          :param include_ephemerals: get ACLs for ephemerals too