<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:44:51 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-4673] Permission denied executing --x executable </title>
                <link>https://jira.whamcloud.com/browse/LU-4673</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I try to execute the executable &quot;sqlplus&quot; on lustre filesystem,but i have this issue:&lt;/p&gt;


&lt;p&gt;$ sqlplus&lt;/p&gt;

&lt;p&gt;-bash: /home/opt/oracle/app/ora11g/product/11.2.0.3/client_1/bin/sqlplus: Permission denied&lt;/p&gt;

&lt;p&gt;The executable has these permissions : &lt;/p&gt;


&lt;p&gt;ls -l /home/opt/oracle/app/ora11g/product/11.2.0.3/client_1/bin/sqlplus&lt;/p&gt;

&lt;p&gt;&lt;del&gt;rwxr-x&lt;/del&gt;-x 1 ora11g dba 9221 Sep 24 14:57 /home/opt/oracle/app/ora11g/product/11.2.0.3/client_1/bin/sqlplus&lt;/p&gt;


&lt;p&gt;If i add the &quot;read&quot; permission to &quot;other&quot; the executable work.&lt;/p&gt;




</description>
                <environment>System Red Hat Enterprise Linux Server release 5.7 (Tikanga)&lt;br/&gt;
&lt;br/&gt;
kernel   2.6.18-348.3.1.el5&lt;br/&gt;
&lt;br/&gt;
lustre-client-modules-1.8.9-2.6.18_348.3.1.el5_g7880158&lt;br/&gt;
lustre-client-1.8.9-2.6.18_348.3.1.el5_g7880158&lt;br/&gt;
</environment>
        <key id="23307">LU-4673</key>
            <summary>Permission denied executing --x executable </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="4">Incomplete</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="lustre.support">Supporto Lustre Jnet2000</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Feb 2014 10:56:43 +0000</created>
                <updated>Thu, 29 Jan 2015 00:29:23 +0000</updated>
                            <resolved>Thu, 29 Jan 2015 00:29:23 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="77900" author="pjones" created="Wed, 26 Feb 2014 14:18:28 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

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

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="77980" author="emoly.liu" created="Thu, 27 Feb 2014 02:24:52 +0000"  >&lt;p&gt;Hi Jnet2000,&lt;/p&gt;

&lt;p&gt;Do you run sqlplus as an Oracle user? Could you please run &quot;which sqlplus&quot; to see if $PATH is set correctly? And if possible, please post the corresponding lustre log here when this problem happens again.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="78575" author="lustre.support" created="Thu, 6 Mar 2014 11:06:26 +0000"  >&lt;p&gt;i can run the sqlplus command and the path is correct, when i have the problem &quot;permission denied&quot; on the host, i haven&apos;t log on the client and i haven&apos;t log on the server.&lt;/p&gt;

&lt;p&gt;regards&lt;/p&gt;</comment>
                            <comment id="78840" author="emoly.liu" created="Mon, 10 Mar 2014 05:59:31 +0000"  >&lt;p&gt;You can get the lustre logs by setting parameters debug and debug_mb before running the sqlplus command, like this&lt;br/&gt;
#lctl set_param debug=-1&lt;br/&gt;
#lctl set_param debug_mb=150&lt;/p&gt;

&lt;p&gt;Then, run sqlplus, and after that, collect the logs by running the following command&lt;br/&gt;
#lctl dk &amp;gt; logfile&lt;/p&gt;

&lt;p&gt;Could you please upload the logs here if you can get anything? Thanks.&lt;/p&gt;</comment>
                            <comment id="78872" author="lustre.support" created="Mon, 10 Mar 2014 14:31:27 +0000"  >&lt;p&gt;We attached the logfile as requested.&lt;br/&gt;
Regards&lt;/p&gt;</comment>
                            <comment id="79325" author="lustre.support" created="Fri, 14 Mar 2014 09:18:32 +0000"  >&lt;p&gt;Any news ?&lt;/p&gt;

&lt;p&gt;regards&lt;/p&gt;</comment>
                            <comment id="79332" author="emoly.liu" created="Fri, 14 Mar 2014 14:14:56 +0000"  >&lt;p&gt;This client side log includes almost five months data. I should have suggested to do a &quot;lctl dk&quot; before running sqlplus.&lt;/p&gt;

&lt;p&gt;I saw the following error many times.&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;(mdc_locks.c:845:mdc_finish_intent_lock()) D_IT dentry sqlplus intent: open status -13 disp 240002b rc 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If possible, could you please upload the server side log as well? Thanks&lt;/p&gt;</comment>
                            <comment id="79823" author="lustre.support" created="Thu, 20 Mar 2014 10:21:16 +0000"  >&lt;p&gt;I attached the log files requested. Before collecting them i issue the lctl flush command&lt;/p&gt;</comment>
                            <comment id="80209" author="lustre.support" created="Tue, 25 Mar 2014 11:05:54 +0000"  >&lt;p&gt;the problem occurs with every executables that have the o=x permission &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-032 ~&amp;#93;&lt;/span&gt;$ ls -l bash&lt;br/&gt;
&lt;del&gt;rwxr-x&lt;/del&gt;-x 1 root root 801528 May 13  2011 bash&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-032 ~&amp;#93;&lt;/span&gt;$ ./bash&lt;/p&gt;

&lt;p&gt;in another window&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-032 ~&amp;#93;&lt;/span&gt;$ ./bash&lt;br/&gt;
-bash: ./bash: Permission denied&lt;/p&gt;</comment>
                            <comment id="80281" author="emoly.liu" created="Wed, 26 Mar 2014 07:18:28 +0000"  >&lt;p&gt;The server log showed that the mds didn&apos;t get the intent lock req@ffff81083d2f1000 sent by client, and as you said, all the executables can&apos;t be run, so I suspect this problem is related to flock. &lt;/p&gt;

&lt;p&gt;By default, the flock utility is disabled. So could you please try to remount client with option &quot;-o flock&quot; and see what will happen?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="80586" author="lustre.support" created="Mon, 31 Mar 2014 06:50:22 +0000"  >&lt;p&gt;the flock option is already enabled&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-032 ~&amp;#93;&lt;/span&gt;$ cat /etc/lustre.conf&lt;br/&gt;
#############################################################################&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;
	&lt;ol&gt;
		&lt;li&gt;
		&lt;ol&gt;
			&lt;li&gt;
			&lt;ol&gt;
				&lt;li&gt;
				&lt;ol&gt;
					&lt;li&gt;#####&lt;/li&gt;
					&lt;li&gt;OSIRIDE                              #####&lt;/li&gt;
					&lt;li&gt;#####&lt;/li&gt;
					&lt;li&gt;Do not manually modify this file (it will be overwritten)      #####&lt;br/&gt;
#############################################################################&lt;br/&gt;
LUSTRE=&quot;TEST&quot;&lt;br/&gt;
SLP_INIT=10&lt;br/&gt;
SLP_ERR=30&lt;br/&gt;
MGS_PRI=10.121.14.38&lt;br/&gt;
MGS_SEC=10.121.14.69&lt;br/&gt;
FILESYSTEM=&quot;/home&quot;&lt;br/&gt;
OPTIONS=&quot;flock,user_xattr&quot;&lt;/li&gt;
				&lt;/ol&gt;
				&lt;/li&gt;
			&lt;/ol&gt;
			&lt;/li&gt;
		&lt;/ol&gt;
		&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="80589" author="emoly.liu" created="Mon, 31 Mar 2014 08:09:52 +0000"  >&lt;p&gt;Hi, can you run the following command to see group_upcall value and paste it here,&lt;br/&gt;
#lctl get_param mds.*.group_upcall&lt;/p&gt;

&lt;p&gt;and also paste the result of &quot;getfacl sqlplus&quot;?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="80590" author="lustre.support" created="Mon, 31 Mar 2014 08:45:25 +0000"  >&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;wisi281@osiride-lp-034 ~&amp;#93;&lt;/span&gt;$ sudo /usr/sbin/lctl get_param mds.*.group_upcall&lt;br/&gt;
mds.home-MDT0000.group_upcall=/usr/sbin/l_getgroups&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;wisi281@osiride-lp-032 bin&amp;#93;&lt;/span&gt;$ sudo getfacl sqlplus&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;file: sqlplus&lt;/li&gt;
	&lt;li&gt;owner: ora11g&lt;/li&gt;
	&lt;li&gt;group: dba&lt;br/&gt;
user::rwx&lt;br/&gt;
group::r-x&lt;br/&gt;
other::--x&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;regards&lt;/p&gt;</comment>
                            <comment id="80810" author="emoly.liu" created="Wed, 2 Apr 2014 07:25:28 +0000"  >&lt;p&gt;Since the server side log is not complete, I tried to reproduce this problem by running an executable file without read permission on NFS lustre client. Fortunately, I hit it.&lt;/p&gt;

&lt;p&gt;It shows that we need read permission to run an executable file. So can you run &quot;id&quot; command to see if the user which has permission issue to run sqlplus belongs to group &quot;dba&quot;?&lt;/p&gt;

&lt;p&gt;It&apos;s simple to verify this &quot;o-r&quot; by the following example:&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;[root@centos6-2 liuy]# cat foo.sh 
#!/bin/sh
echo &quot;test permission&quot;
ls -al *
[root@centos6-2 liuy]# chmod o-r foo.sh 
[root@centos6-2 liuy]# getfacl foo.sh 
# file: foo.sh
# owner: root
# group: root
user::rwx
group::r-x
other::--x
[root@centos6-2 liuy]# ./foo.sh 
test permission
-rwxr-x--x 1 root root   42 Mar 28 23:55 foo.sh
-rwxr-x--x 1 root root 7296 Mar 28 23:36 teststat
[root@centos6-2 liuy]# su - liuy
[liuy@centos6-2 ~]$ id
uid=500(liuy) gid=500(liuy) groups=500(liuy)
[liuy@centos6-2 ~]$ ./foo.sh 
/bin/sh: ./foo.sh: Permission denied
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="80818" author="lustre.support" created="Wed, 2 Apr 2014 09:46:23 +0000"  >&lt;p&gt;The r attribute is necessary to run bash script, for the binary this is not true.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-002 bin&amp;#93;&lt;/span&gt;$ ls -l bash&lt;br/&gt;
--&lt;del&gt;x&lt;/del&gt;&lt;del&gt;x&lt;/del&gt;-x 1 b487000 b487000 801528 Apr  2 11:42 bash&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-002 bin&amp;#93;&lt;/span&gt;$ ./bash&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-002 bin&amp;#93;&lt;/span&gt;$ ls -l generate_lamp_packages.sh&lt;br/&gt;
--&lt;del&gt;x&lt;/del&gt;&lt;del&gt;x&lt;/del&gt;-x 1 b487000 b487000 866 Sep 19  2011 generate_lamp_packages.sh&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-002 bin&amp;#93;&lt;/span&gt;$ ./generate_lamp_packages.sh&lt;br/&gt;
/bin/bash: ./generate_lamp_packages.sh: Permission denied&lt;/p&gt;

&lt;p&gt;Why the server log is incomplete ? We follow your instructions. &lt;/p&gt;

&lt;p&gt;regards&lt;/p&gt;
</comment>
                            <comment id="80861" author="emoly.liu" created="Wed, 2 Apr 2014 15:35:16 +0000"  >&lt;p&gt;Yes, scripts must be readable and executable but compiled programs need only be executable.&lt;/p&gt;

&lt;p&gt;I want to check &quot;id&quot; and &quot;r&quot; attribute because the previous comments said:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The executable has these permissions :&lt;br/&gt;
ls -l /home/opt/oracle/app/ora11g/product/11.2.0.3/client_1/bin/sqlplus&lt;br/&gt;
rwxr-x-x 1 ora11g dba 9221 Sep 24 14:57 /home/opt/oracle/app/ora11g/product/11.2.0.3/client_1/bin/sqlplus&lt;br/&gt;
If i add the &quot;read&quot; permission to &quot;other&quot; the executable work.&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;
&lt;p&gt;the problem occurs with every executables that have the o=x permission&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-032 ~&amp;#93;&lt;/span&gt;$ ls -l bash&lt;br/&gt;
rwxr-x-x 1 root root 801528 May 13 2011 bash&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-032 ~&amp;#93;&lt;/span&gt;$ ./bash&lt;br/&gt;
in another window&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;b487000@osiride-lp-032 ~&amp;#93;&lt;/span&gt;$ ./bash&lt;br/&gt;
-bash: ./bash: Permission denied&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The &quot;id&quot; result will help me make sure if this is a lustre issue.&lt;/p&gt;

&lt;p&gt;As for server log, the log happened at time 1395299404 was probably flushed if the clock between the client and server is synchronous, because there was nothing useful at that moment, and there was no EACCES(-13) error returned by mds_open(), even no xid=1448864745813986 found, sent by the client.&lt;/p&gt;

&lt;p&gt;So if possible, could you please set debug_mb to a larger number(lctl set_param debug_mb=1000?), and synchronize the clock between the client and the server, and then collect the logs again?&lt;/p&gt;

&lt;p&gt;Many thanks.&lt;/p&gt;</comment>
                            <comment id="101962" author="jfc" created="Thu, 18 Dec 2014 16:48:34 +0000"  >&lt;p&gt;Hello Jnet2000 Support Team,&lt;/p&gt;

&lt;p&gt;Is there any further way we can help you with this ticket?&lt;/p&gt;

&lt;p&gt;If not, we would like to mark it as resolved.&lt;/p&gt;

&lt;p&gt;Many thanks,&lt;br/&gt;
~ jfc.&lt;/p&gt;</comment>
                            <comment id="105054" author="jfc" created="Thu, 29 Jan 2015 00:29:23 +0000"  >&lt;p&gt;Asked customer for guidance on this ticket on December 18, 2014.&lt;/p&gt;

&lt;p&gt;Will now mark it as Resolved &amp;#8211; Incomplete.&lt;/p&gt;

&lt;p&gt;We can re-open the ticket if required.&lt;br/&gt;
Thanks,&lt;br/&gt;
~ jfc.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14505" name="log.tar.bz" size="222" author="lustre.support" created="Thu, 20 Mar 2014 10:21:16 +0000"/>
                            <attachment id="14258" name="logfile.bz2" size="689496" author="lustre.support" created="Mon, 10 Mar 2014 14:31:44 +0000"/>
                    </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|hzwfx3:</customfieldvalue>

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