Bug 447371

Summary: use filetest 'access' checks wrong permissions for -x
Product: [Fedora] Fedora Reporter: David Mansfield <bugzilla>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: kasal, pbartfai, rc040203, robin.norwood, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: perl-5.10.0-23.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-12 11:26:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Mansfield 2008-05-19 17:55:37 UTC
Description of problem:

When using "use filetest "access"' the -x builtin tests the wrong permission. It
tests W_OK instead of X_OK.

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


perl-5.10.0-20.fc9.i386

How reproducible:

always

Steps to Reproduce:
1. strace -e access perl -e "use filetest 'access'; print -x '/bin/ls';"
2.
3.
  
Actual results:

Should be testing X_OK.

Expected results:

Tests W_OK.


Additional info:

Breaks install of DBD::Oracle at least.

Tried to submit uptream via perlbug but it didn't seem to work... (no feedback
from there).

Comment 1 Marcela Mašláňová 2008-06-11 13:23:05 UTC
It looks same as http://rt.perl.org/rt3/Public/Bug/Display.html?id=49003

Comment 2 Fedora Update System 2008-06-12 11:35:53 UTC
perl-5.10.0-26.fc9 has been submitted as an update for Fedora 9

Comment 3 Lubomir Rintel 2008-06-21 18:16:59 UTC
*** Bug 449887 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2008-06-25 02:54:03 UTC
perl-5.10.0-26.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.