<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:46:10 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-4824] lfs find should continue after errors</title>
                <link>https://jira.whamcloud.com/browse/LU-4824</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A user has noticed that &apos;lfs find&apos; stops as soon as it encounters an error, such as EACCES.  The regular find command just notes the failure but continues on, returning a non-zero exit code at the end.&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;# mkdir -p $LUSTREDIR/{dirb,dirc}
# touch $LUSTREDIR/{dirb,dirc}/file1
# sudo chown root:root $LUSTREDIR/dirb
# sudo chmod 700 $LUSTREDIR/dirb
# find $LUSTREDIR -name file1
find: `/lustre/f1/Matthew.Ezell/testdir/dirb&apos;: Permission denied
/lustre/f1/Matthew.Ezell/testdir/dirc/file1
# echo $?
1
# lfs find $LUSTREDIR -name file1
llapi_semantic_traverse: Failed to open &apos;/lustre/f1/Matthew.Ezell/testdir/dirb&apos;: Permission denied (13)
error: find failed for file1.
# echo $?
22
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I created a patch that  changes the behavior to the following:&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;# /tmp/usr/bin/lfs find $LUSTREDIR -name file1
llapi_semantic_traverse: Failed to open &apos;/lustre/f1/Matthew.Ezell/testdir/dirb&apos;: Permission denied (13)
/lustre/f1/Matthew.Ezell/testdir/dirc/file1
error: find failed for file1.
# echo $?
1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If you would like, I could change my patch to return EINVAL as it previously did.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23906">LU-4824</key>
            <summary>lfs find should continue after errors</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="1">Fixed</resolution>
                                        <assignee username="jamesanunez">James Nunez</assignee>
                                    <reporter username="ezell">Matt Ezell</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 26 Mar 2014 15:24:01 +0000</created>
                <updated>Mon, 18 Aug 2014 15:56:36 +0000</updated>
                            <resolved>Mon, 16 Jun 2014 15:01:23 +0000</resolved>
                                    <version>Lustre 2.5.1</version>
                    <version>Lustre 2.4.3</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="80298" author="ezell" created="Wed, 26 Mar 2014 15:26:10 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9794&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9794&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="86654" author="ezell" created="Mon, 16 Jun 2014 04:49:05 +0000"  >&lt;p&gt;Patch was landed to master.&lt;/p&gt;

&lt;p&gt;I&apos;ll test and submit a b2_5 backport soon&lt;/p&gt;</comment>
                            <comment id="86686" author="pjones" created="Mon, 16 Jun 2014 15:01:23 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                            <comment id="88976" author="jamesanunez" created="Mon, 14 Jul 2014 20:20:48 +0000"  >&lt;p&gt;Patch for b2_5 at: &lt;a href=&quot;http://review.whamcloud.com/#/c/11093/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11093/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="25084">LU-5170</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|hzwigf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13263</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>