Re:How do groups work on Linux?
by dozzie on Tuesday November 21, 2017 @07:57AM
(#15747555)
Not what filesystem, it's what OS. FreeBSD. And ZFS, but UFS works the same.
[ Parent
| on HN ]
So why did you mentation "Ext2/3/4 and XFS" if filesystem doesn't matter?
I don't see what you don't understand. I demonstrated that on FreeBSD created
file inherits the group of its parent directory even without SGID, i.e. that
FreeBSD exhibits BSD semantics. I also added that if you can have BSD
semantics on Ext2/3/4 and XFS if you mount them under Linux with appropriate
options.
You’re getting downvoted a bunch here, but I believe your basic point is valid. To take it back to the GP: SGID bit and other such OS and/or filesystem specific semantics are not the best measurement of someone’s overall UNIX understanding.
Now, IMO asking someone if they understand what the difference is between chmod <octal notation> VS chmod <friendly notation> is and why it exists is a bit more telling, because this touches down on what interface most unix filesystems try to present and also how they’re implemented to a degree.
The specifics on any given system are just a manpage away but the general understanding only really comes from having absorbed some actual unix interactions.
And certainly knowing more than just Linux should get one bonus points...
No, you didn't say anything about Linux.
I could be wrong but I thought the file system's "drivers" did the handling of file system permissions rather than the OS / kernel? Or at least this was my experience when playing around with FUSE on hobby projects.