Bug 85704 - Improper file test in lang.sh and lang.csh
Improper file test in lang.sh and lang.csh
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-06 03:08 EST by SEKINE Tatsuo
Modified: 2014-03-16 22:34 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-03-06 11:32:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description SEKINE Tatsuo 2003-03-06 03:08:45 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.1) Gecko/20021030 for
VineLinux 0vl6

Description of problem:
In lang.sh, /bin/unicode_start program is tested as below:

  [ -f /bin/unicode_start ] && unicode_start ...

But it should be:

  [ -x /bin/unicode_start ] && unicode_start ...

lang.csh is also.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. chmod a-x /bin/unicode_start
2. login
3.
    

Additional info:

This is not a BUG.
It's a only problem of conding style.
Comment 1 Bill Nottingham 2003-03-06 11:32:55 EST
Fixed in CVS, will be in next build.

Note You need to log in before you can comment on or make changes to this bug.