Bug 368451 - setfacl returns 0 even though it fails
Summary: setfacl returns 0 even though it fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: acl
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Jiri Moskovcak
QA Contact:
URL:
Whiteboard:
: 368461 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-06 16:15 UTC by Jakub Hrozek
Modified: 2015-02-01 22:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-09 08:30:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (624 bytes, patch)
2007-11-08 14:47 UTC, Jiri Moskovcak
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1652 0 normal SHIPPED_LIVE acl bug fix update 2009-12-09 08:30:10 UTC

Description Jakub Hrozek 2007-11-06 16:15:17 UTC
Description of problem:
Even if setfacl fails and prints error messages, it returns 0. This is 
confusing. 

Version-Release number of selected component (if applicable):
acl-2.2.39-3.el5

How reproducible:
always

Steps to Reproduce:
1. make setfacl fail (I found this during testing of bug 298471)
2. echo $?
  
Actual results:
$? == 0

Expected results:
$? != 0

Comment 1 Jiri Moskovcak 2007-11-07 12:10:05 UTC
*** Bug 368461 has been marked as a duplicate of this bug. ***

Comment 2 Jiri Moskovcak 2007-11-08 14:47:37 UTC
Created attachment 251511 [details]
Proposed patch

Comment 3 RHEL Program Management 2007-12-03 20:47:30 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release.  This request will
be reviewed for a future Red Hat Enterprise Linux release.

Comment 9 errata-xmlrpc 2009-12-09 08:30:21 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1652.html


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