2013-08-12 12:02:31 +04:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<refentry id= "vfs_linux_xfs_sgid.8" >
<refmeta >
2023-12-25 21:49:38 +03:00
<refentrytitle > vfs_linux_xfs_sgid</refentrytitle>
2013-08-12 12:02:31 +04:00
<manvolnum > 8</manvolnum>
<refmiscinfo class= "source" > Samba</refmiscinfo>
<refmiscinfo class= "manual" > System Administration tools</refmiscinfo>
2017-12-12 11:08:06 +03:00
<refmiscinfo class= "version" > &doc.version; </refmiscinfo>
2013-08-12 12:02:31 +04:00
</refmeta>
<refnamediv >
<refname > vfs_linux_xfs_sgid</refname>
2018-08-06 18:24:18 +03:00
<refpurpose > Workaround XFS sgid bit not inherited</refpurpose>
2013-08-12 12:02:31 +04:00
</refnamediv>
<refsynopsisdiv >
<cmdsynopsis >
<command > vfs objects = linux_xfs_sgid</command>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 >
<title > DESCRIPTION</title>
<para > This VFS module is part of the
<citerefentry > <refentrytitle > samba</refentrytitle>
<manvolnum > 7</manvolnum> </citerefentry> suite.</para>
<para >
<command > vfs_linux_xfs_sgid</command> is a VFS module to work around an
2018-05-01 21:35:52 +03:00
old Linux XFS bug fixed in 3.11: the SGID bit is not inherited during mkdir
when a default ACL is set
(<ulink url= "https://web.archive.org/web/20160320180937/http://oss.sgi.com/bugzilla/show_bug.cgi?id=280" >
https://web.archive.org/web/20160320180937/http://oss.sgi.com/bugzilla/show_bug.cgi?id=280
</ulink> fixed by <ulink url= "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=42c49d7f249c2487f36d3314753d5d8ebcee8249" >
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=42c49d7f249c2487f36d3314753d5d8ebcee8249</ulink> ).
2013-08-12 12:02:31 +04:00
The <command > vfs_linux_xfs_sgid</command> VFS module will work around this
bug by manually setting the SGID bit after a <command > mkdir</command>
if the parent directory had the SGID bit set.
</para>
<para > This module is stackable.</para>
</refsect1>
<refsect1 >
<title > EXAMPLES</title>
2023-12-25 21:49:38 +03:00
<para > Add linux_xfs_sgid functionality for [share]:</para>
2013-08-12 12:02:31 +04:00
<programlisting >
<smbconfsection name= "[share]" />
<smbconfoption name= "vfs objects" > linux_xfs_sgid</smbconfoption>
</programlisting>
</refsect1>
<refsect1 >
<title > VERSION</title>
2017-12-13 03:38:25 +03:00
<para > This man page is part of version &doc.version; of the Samba suite.
2013-08-12 12:02:31 +04:00
</para>
</refsect1>
<refsect1 >
<title > AUTHOR</title>
<para > 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.</para>
</refsect1>
</refentry>