• exu
    link
    fedilink
    English
    309 months ago

    Cool. Does ACL support also depend on the filesystem?

    • @[email protected]
      link
      fedilink
      319 months ago

      Yeah, but I think all reasonably-modern Unixy filesystems on Linux will support ACLs. ext2/3/4, btrfs, xfs, zfs, jfs, etc.

    • 520
      link
      fedilink
      129 months ago

      Yes. Some filesystems straight up do not support ACL of any kind (eg: fat32)

      • @[email protected]
        link
        fedilink
        99 months ago

        Fat32 doesn’t support regular file permissions either, right? I was under the impression that it was permissionless.

        • 520
          link
          fedilink
          59 months ago

          You are entirely correct, it has no permission system to speak of

        • zero_iq
          link
          fedilink
          23
          edit-2
          9 months ago

          Sorry, but this is completely wrong.

          Windows has ACLs and they are an important part of Windows administration, and used extensively for managing file permissions.

          Windows has supported ACLs on NTFS since Windows NT & NTFS were released in 1993 (possibly partly influenced by AIX ACLs in the late 80s influenced by VMS ACLs introduced the early 80s).

          ACLs were not introduced to standard POSIX until c.1998, and NFS and Linux filesystems didn’t get them until 2003. In fact, the design of the NFSv4 ACL standard was heavily influenced by the design of NTFS/Windows ACL model – a specific decision by the designers to model it more like NTFS rather than AIX/POSIX.

          Technically, at the filesystem level, exFAT also provides support for ACLs, but I am not sure if any implementation actually makes use of this feature (not even Windows AFAIK, certainly not any desktop version).

          • @[email protected]
            link
            fedilink
            29 months ago

            Damn, giving me flashbacks of slowly moving through ACLs then hitting domain groups, domain local groups, global groups, then eventually universal groups as AD moved forward in complex situations.

            Got to admit it worked well though.

        • 520
          link
          fedilink
          22
          edit-2
          9 months ago

          Bruh, Windows has had ACLs for decades. Before Linux, even. What are you smoking?

          I wouldn’t be surprised if the NTFS driver for Linux doesn’t support ACLs though.