<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47:04 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-4929] create remote directory does not accept mode or handle umask properly</title>
                <link>https://jira.whamcloud.com/browse/LU-4929</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The LL_IOC_LMV_SETSTRIPE does not accept a mode for the directory to be created. Moreover umask is not handled in a way consistent with mkdir().&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;static int ll_dir_setdirstripe(struct inode *dir, struct lmv_user_md *lump,
                               const char *filename)

{
        ...
        mode = (0755 &amp;amp; (S_IRWXUGO|S_ISVTX) &amp;amp; ~current-&amp;gt;fs-&amp;gt;umask) | S_IFDIR;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;t:lustre# umask 0777
t:lustre# mkdir d0
t:lustre# stat d0
  File: `d0&apos;
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 2c54f966h/743766374d	Inode: 216172799293652997  Links: 2
Access: (0000/d---------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-04-18 20:36:53.000000000 -0500
Modify: 2014-04-18 20:36:53.000000000 -0500
Change: 2014-04-18 20:36:53.000000000 -0500
t:lustre# lfs mkdir -c4 d1
t:lustre# stat d1
  File: `d1&apos;
  Size: 16384     	Blocks: 8          IO Block: 4096   directory
Device: 2c54f966h/743766374d	Inode: 216172799293652998  Links: 2
Access: (0000/d---------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-04-18 20:37:00.000000000 -0500
Modify: 2014-04-18 20:37:00.000000000 -0500
Change: 2014-04-18 20:37:00.000000000 -0500
t:lustre# 
t:lustre# umask 0000
t:lustre# rmdir d0 d1
t:lustre# 
t:lustre# mkdir d0
t:lustre# lfs mkdir -c4 d1
t:lustre# stat d0
  File: `d0&apos;
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 2c54f966h/743766374d	Inode: 216172799293652999  Links: 2
Access: (0777/drwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-04-18 20:37:31.000000000 -0500
Modify: 2014-04-18 20:37:31.000000000 -0500
Change: 2014-04-18 20:37:31.000000000 -0500
t:lustre# stat d1
  File: `d1&apos;
  Size: 16384     	Blocks: 8          IO Block: 4096   directory
Device: 2c54f966h/743766374d	Inode: 216172799293653000  Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-04-18 20:37:37.000000000 -0500
Modify: 2014-04-18 20:37:37.000000000 -0500
Change: 2014-04-18 20:37:37.000000000 -0500
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="24296">LU-4929</key>
            <summary>create remote directory does not accept mode or handle umask properly</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="1">Fixed</resolution>
                                        <assignee username="di.wang">Di Wang</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>dne2</label>
                            <label>mn4</label>
                    </labels>
                <created>Sat, 19 Apr 2014 01:45:05 +0000</created>
                <updated>Mon, 27 Apr 2015 23:17:38 +0000</updated>
                            <resolved>Wed, 18 Jun 2014 13:10:28 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.5.1</version>
                    <version>Lustre 2.4.3</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="82013" author="di.wang" created="Sat, 19 Apr 2014 06:06:20 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/10028&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10028&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="82499" author="di.wang" created="Fri, 25 Apr 2014 16:31:37 +0000"  >&lt;p&gt;Just a reminder, when port to 2.4 and 2.5, the test cases in this patch needs to change.&lt;/p&gt;</comment>
                            <comment id="85238" author="jlevi" created="Fri, 30 May 2014 12:06:41 +0000"  >&lt;p&gt;Patch landed to Master. Please reopen ticket if more work is needed.&lt;/p&gt;</comment>
                            <comment id="85283" author="adilger" created="Fri, 30 May 2014 18:10:54 +0000"  >&lt;p&gt;I hate to reopen this, but we still need a patch to update the man page to describe the new option. &lt;/p&gt;</comment>
                            <comment id="85285" author="adilger" created="Fri, 30 May 2014 18:16:27 +0000"  >&lt;p&gt;Di, since striped directories are not supported in earlier Lustre versions, your comment about back porting this patch are confusing. Is this also affecting remote directory creation?&lt;/p&gt;</comment>
                            <comment id="85286" author="di.wang" created="Fri, 30 May 2014 18:22:18 +0000"  >&lt;p&gt;Ah, umask is not working properly for remote directory on 2.4 and 2.5 neither. And also I thought we want to support this -m mode specification for remote directory (or not?).  I actually want to say we need different test-cases for 2.4 and 2.5,  but it seems just useless and bring confusing, because we do not have striped dir on 2.4 and 2.5 anyway. &lt;/p&gt;</comment>
                            <comment id="85401" author="adilger" created="Sat, 31 May 2014 23:20:15 +0000"  >&lt;p&gt;Yes, if this affects remote directories also then it should be backported to b2_4 and b2_5. &lt;/p&gt;

&lt;p&gt;The reason that the bug was reopened was because the man page also needs to be updated for master. The backport is tracked separately. &lt;/p&gt;</comment>
                            <comment id="85893" author="pjones" created="Thu, 5 Jun 2014 18:58:06 +0000"  >&lt;p&gt;Raising priority to ensure man page update gets in ahead of the release&lt;/p&gt;</comment>
                            <comment id="86065" author="di.wang" created="Sun, 8 Jun 2014 04:36:57 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/10643&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10643&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="86910" author="pjones" created="Wed, 18 Jun 2014 13:10:28 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="19627">LU-3531</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|hzwkkv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13629</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>