VFS_LINUX_XFS_SGID(8)

πŸ’… VFS_LINUX_XFS_SGID β€” the manual page, but make it make sense

okay bestie, so this is vfs_linux_xfs_sgid, a page from the System Administration tools section of the manual. Section 8, so it's a sysadmin thing, not a "type this in your shell and pray" thing. πŸŽ€


✨ NAME ✨

vfs_linux_xfs_sgid β€” workaround for the little XFS thing where the sgid bit just... doesn't get inherited. rude of it, honestly. 😭


🌸 SYNOPSIS 🌸

vfs objects = linux_xfs_sgid

that's it. that's the whole vibe. one line. iconic. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so this VFS module is part of the samba(7) suite β€” yes, the big one, the whole gang. 🫢

vfs_linux_xfs_sgid is a VFS module whose entire personality is working around an old Linux XFS bug. like, this bug got fixed in 3.11, so we're talking vintage. the bug was this: the SGID bit is not inherited during mkdir when a default ACL is set. no cap, that's the actual bug.

if you want receipts, here they are:

so what does this module do about it? it does the workaround manually, like a queen. after a mkdir, if the parent directory had the SGID bit set, the module manually sets the SGID bit. that's the whole trick. the way that it just does the kernel's job for it πŸ’€

heads up: this module is stackable. so yes, you can pile it on with your other VFS modules. go off. 🌈

πŸ’– EXAMPLES πŸ’–

want to add linux_xfs_sgid functionality for [share]? bet. here's the whole thing:

[share]
vfs objects = linux_xfs_sgid

that's it, bestie. copy, paste, slay. ✨


⭐ VERSION ⭐

this man page is part of version 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1 of the Samba suite. yes, that version string is a whole entire mouthful. write it down carefully. πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

the original Samba software and related utilities were created by Andrew Tridgell. absolute legend, main character energy, we stan. πŸ™‡β€β™€οΈ

Samba is now developed by the Samba Team as an Open Source project, similar to the way the Linux kernel is developed. so basically a whole community of people doing this for the love of the game. periodt. πŸ’œ


and that's the page, fr fr! πŸ“

sign-off time: this was Samba 4.24.7-Ubuntu-4.24.7+dfsg, dated 09/13/2026, living in the VFS_LINUX_XFS_SGID(8) section. thanks for coming to my ted talk, go fix your XFS SGID bits, ily πŸ§šπŸ’–

πŸ“¦ where this page comes from