logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vfs_linux_xfs_sgid - Workaround XFS sgid bit not inherited

Author

       The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed
       by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.

Samba 4.22.3-Ubuntu-4.22.3+dfs                     07/21/2025                              VFS_LINUX_XFS_SGID(8)

Description

       This VFS module is part of the samba(7) suite.

       vfs_linux_xfs_sgid is a VFS module to work around an old Linux XFS bug fixed in 3.11: the SGID bit is not
       inherited during mkdir when a default ACL is set
       (https://web.archive.org/web/20160320180937/http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 fixed by
       https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=42c49d7f249c2487f36d3314753d5d8ebcee8249).
       The vfs_linux_xfs_sgid VFS module will work around this bug by manually setting the SGID bit after a
       mkdir if the parent directory had the SGID bit set.

       This module is stackable.

Examples

       Add linux_xfs_sgid functionality for [share]:

                   [share]vfsobjects=linux_xfs_sgid

Name

       vfs_linux_xfs_sgid - Workaround XFS sgid bit not inherited

Synopsis


       vfs objects = linux_xfs_sgid

Version

       This man page is part of version 4.22.3-Ubuntu-4.22.3+dfsg-4ubuntu1 of the Samba suite.

See Also