Package com.norconex.crawler.fs.fetch.acl


package com.norconex.crawler.fs.fetch.acl
  • Class
    Description
    Which of a source's permissions a fetcher reads and writes on each document, as an Acl in the "crawler.acl" field.
    Helpers the file-system fetchers share to write a document's Acl.
    Logs warnings once per crawl rather than once per document.
    Reads the extended ACLs of local files on Linux and macOS, which Java itself cannot read: Java's posix view gives only the mode bits.
    The permissions of one file or folder of a POSIX-style source (a Unix file system, SFTP, ADLS Gen2, HDFS): its owner, group and mode bits, and any extended entries (named users and groups, and the mask), turned into the standard AclLevel for one right.
    An entry beside the mode bits that allows or denies rights directly, the way macOS ACL entries do (they are checked before the mode bits).
    A user or group, by the most stable id the source gives, and a readable name when the source gives one besides.
    The path levels of a file on a source where reading a file also needs the right to go through every folder above it (POSIX-style sources, and Linux servers shared through Samba): one level per folder above that does not let everybody through, in order from the top, without repeating a level already there.
    Reads a folder's level for the right to go through it.