Project

General

Profile

Bug #1707

bash shouldn't use access(2) for `test' builtin

Added by Yuri Pankov about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2011-10-31
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Currently bash uses access(2), which treats any file as executable when run as root. Patch disables this check so bash uses its own sh_stataccess().


Files

eaccess.diff (361 Bytes) eaccess.diff Yuri Pankov, 2011-10-31 01:12 PM

History

#1

Updated by Ken Mays about 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Approved patches applied to: ,5.11-0.151.1.8.1:20130802T181352Z

#2

Updated by Andrew Stormont about 6 years ago

If this is a mistake in bash maybe you should file a bug upstream.

Also available in: Atom PDF