<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:44:54 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-4680] Invalid system.posix_acl_default breaks umask on ZFS MDT</title>
                <link>https://jira.whamcloud.com/browse/LU-4680</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;GNU &lt;tt&gt;cp -rp&lt;/tt&gt; tries to store a default ACL on the destination if the source filesystem supports ACLs, even if the source file has no default ACL.  If the destination is a Lustre filesystem with a ZFS MDT, an invalid or empty default ACL is applied, causing Lustre to bypass the umask in the destination directory.  This shell snippet demonstrates the problem: &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;src=`mktemp -d XXXX`
dest=`mktemp -u XXXX`
getfattr -n system.posix_acl_default $src
cp -rp $src $dest
getfattr -n system.posix_acl_default $dest
umask
touch $dest/foo
ls -l $dest/foo
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Example output:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# oslic6 /p/lscratchv/bass6 &amp;gt; src=`mktemp -d XXXX`
# oslic6 /p/lscratchv/bass6 &amp;gt; dest=`mktemp -u XXXX`
# oslic6 /p/lscratchv/bass6 &amp;gt; getfattr -n system.posix_acl_default $src 
# file: g9Lo
system.posix_acl_default

# oslic6 /p/lscratchv/bass6 &amp;gt; cp -rp $src $dest
# oslic6 /p/lscratchv/bass6 &amp;gt; getfattr -n system.posix_acl_default $dest
# file: U0tY
system.posix_acl_default=0sAgAAAA==

# oslic6 /p/lscratchv/bass6 &amp;gt; umask
0077
# oslic6 /p/lscratchv/bass6 &amp;gt; touch $dest/foo
# oslic6 /p/lscratchv/bass6 &amp;gt; ls -l $dest/foo
-rw-rw-rw- 1 root root 0 Feb 27 14:20 U0tY/foo
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note the file &lt;tt&gt;foo&lt;/tt&gt; has mode 0666 even though umask was 0077.  Running this test on an ldiskfs filesystem shows that the invalid/empty ACL is discarded, so umask still works as expected.&lt;/p&gt;</description>
                <environment>lustre-2.4.0-19chaos (see &lt;a href=&quot;http://github.com/chaos/lustre)&quot;&gt;http://github.com/chaos/lustre)&lt;/a&gt;</environment>
        <key id="23368">LU-4680</key>
            <summary>Invalid system.posix_acl_default breaks umask on ZFS MDT</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="laisiyao">Lai Siyao</assignee>
                                    <reporter username="nedbass">Ned Bass</reporter>
                        <labels>
                            <label>llnl</label>
                            <label>prz</label>
                    </labels>
                <created>Thu, 27 Feb 2014 22:23:14 +0000</created>
                <updated>Tue, 5 Aug 2014 21:07:54 +0000</updated>
                            <resolved>Tue, 5 Aug 2014 21:07:39 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="78064" author="nedbass" created="Thu, 27 Feb 2014 22:55:42 +0000"  >&lt;p&gt;Note that the latest ZFS on Linux master has POSIX ACL support, so I suspect that this issue may not occur if that patch is in place.  Nevertheless, Lustre should handle this issue correctly even on ZFS versions lacking POSIX ACL support.&lt;/p&gt;</comment>
                            <comment id="78065" author="pjones" created="Thu, 27 Feb 2014 22:58:10 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

&lt;p&gt;Could you please assist with this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="86634" author="morrone" created="Sat, 14 Jun 2014 01:05:44 +0000"  >&lt;p&gt;While ZFS now has ACL support, Lustre is still storing the ACL information in xattrs on ZFS.  I suspect that the problem has not gone away.  See &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5150&quot; title=&quot;NULL pointer dereference in posix_acl_valid() under mdc_get_lustre_md()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5150&quot;&gt;&lt;del&gt;LU-5150&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="87580" author="laisiyao" created="Thu, 26 Jun 2014 16:43:30 +0000"  >&lt;p&gt;The patch is on &lt;a href=&quot;http://review.whamcloud.com/#/c/10850/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10850/&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="90389" author="morrone" created="Tue, 29 Jul 2014 21:12:38 +0000"  >&lt;p&gt;10850 is &lt;em&gt;a&lt;/em&gt; patch, but not the fix we need for this ticket.&lt;/p&gt;</comment>
                            <comment id="90520" author="emoly.liu" created="Thu, 31 Jul 2014 07:50:42 +0000"  >&lt;p&gt;Hi Chris,&lt;br/&gt;
Lai is on vacation. I think his patch &lt;a href=&quot;http://review.whamcloud.com/#/c/10895/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10895/&lt;/a&gt; for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5150&quot; title=&quot;NULL pointer dereference in posix_acl_valid() under mdc_get_lustre_md()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5150&quot;&gt;&lt;del&gt;LU-5150&lt;/del&gt;&lt;/a&gt; should help with this ticket.&lt;/p&gt;</comment>
                            <comment id="90927" author="pjones" created="Tue, 5 Aug 2014 21:07:39 +0000"  >&lt;p&gt;LLNL agree that this should be covered by the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5150&quot; title=&quot;NULL pointer dereference in posix_acl_valid() under mdc_get_lustre_md()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5150&quot;&gt;&lt;del&gt;LU-5150&lt;/del&gt;&lt;/a&gt; fix&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="25045">LU-5150</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25824">LU-5434</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwg93:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12867</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>