Bug 447371 - use filetest 'access' checks wrong permissions for -x
Summary: use filetest 'access' checks wrong permissions for -x
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 449887 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-19 17:55 UTC by David Mansfield
Modified: 2008-06-25 02:54 UTC (History)
5 users (show)

Fixed In Version: perl-5.10.0-23.fc9
Clone Of:
Environment:
Last Closed: 2008-06-12 11:26:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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