this post was submitted on 05 Oct 2023
603 points (99.0% liked)
Linux
48376 readers
1697 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Cool. Does ACL support also depend on the filesystem?
Yeah, but I think all reasonably-modern Unixy filesystems on Linux will support ACLs. ext2/3/4, btrfs, xfs, zfs, jfs, etc.
Yes. Some filesystems straight up do not support ACL of any kind (eg: fat32)
Fat32 doesn't support regular file permissions either, right? I was under the impression that it was permissionless.
You are entirely correct, it has no permission system to speak of
I'll speak of it anyway: There's a "Read-only" bit on every file/directory and The User (there's only one!) can change it for any of them at any time.
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).
Windows NT ACLs come from VMS.
The Unix world has traditionally not liked ACLs because Multics had them, and Unix was an ultra-minimalist response to Multics.
Yep, you're right. I was thinking of an ACL evolution/chain of influence of VMS -> AIX -> NT, but it seems VMS -> NT and VMS -> AIX as two separate histories is much more accurate. Thanks for the correction -- I've updated my comment accordingly.
My AIX experience is very limited. What was the VMS connection?
VMS implemented ACLs in the early 80s. It's design influenced the design of ACLs in both AIX and Windows NT.
Yeah, I'm familiar with VMS, and Cutler bringing a lot of the internal design to W/NT. (I'm told in particular a lot of the data structures for system calls in NT look like VMS.) My AIX experience has consisted entirely of "This is weird. This isn't normal for Unix." Ha ha. (I had a 1st gen RS/6000 at home briefly in the late 90s.)
And I do have a "grey wall" in my library:
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.
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.