Hide Forgot
Description of problem: It is a common practice to execute just the script or with -h option to see its usage or help. While doing the same with quota-remove-xattr.sh, we see that this script executes itself on the pwd along with its usage. Version-Release number of selected component (if applicable): glusterfs-server-3.4.0.38rhs-1.el6rhs.x86_64 How reproducible: 100% Steps to Reproduce: 1. Execute /usr/libexec/glusterfs/quota/quota-remove-xattr.sh to see usage Actual results: [root@server1 ~]# /usr/libexec/glusterfs/quota/quota-remove-xattr.sh usage: /usr/libexec/glusterfs/quota/quota-remove-xattr.sh <path> setfattr: .: Operation not supported setfattr: ./.ssh: Operation not supported setfattr: ./.ssh/authorized_keys: Operation not supported setfattr: ./.ssh/known_hosts: Operation not supported setfattr: ./install.log: Operation not supported Expected results: Should show only usage and not be executed. Additional info:
Need a -h option for help
[root@rhss4 ~]# /usr/libexec/glusterfs/quota/quota-remove-xattr.sh usage: /usr/libexec/glusterfs/quota/quota-remove-xattr.sh <path> [root@rhss4 ~]# /usr/libexec/glusterfs/quota/quota-remove-xattr.sh -h usage: /usr/libexec/glusterfs/quota/quota-remove-xattr.sh <path> [root@rhss4 ~]# [root@rhss4 ~]# gluster --version glusterfs 3.4.0.51rhs built on Dec 18 2013 11:15:39 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. [root@rhss4 ~]#
Can you please verify the doc text for technical accuracy?
Doc text looks good.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0208.html