Bug 232884

Summary: getfacl exit code is reversed
Product: [Fedora] Fedora Reporter: Jim Meyering <meyering>
Component: aclAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: sct, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-21 10:40:32 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:
Attachments:
Description Flags
apply this patch on top of acl-2.2.39-walk.patch none

Description Jim Meyering 2007-03-19 09:06:56 UTC
Description of problem:
  getfacl exits 0 upon failure, and nonzero when it succeeds

Version-Release number of selected component (if applicable):
  $ getfacl --version                       
  getfacl 2.2.39                                                               
       
  $ rpm -qf /usr/bin/getfacl
  acl-2.2.39-3.fc7                                                                 

How reproducible:
  always

Steps to Reproduce:
  $ touch k; getfacl k >&/dev/null || echo bug
  bug
  $ getfacl /no-file >&/dev/null && echo bug
  bug
  
Actual results:
  see above

Expected results:
  no output from those two commands

Additional info:
  patch attached

Comment 1 Jim Meyering 2007-03-19 09:06:57 UTC
Created attachment 150354 [details]
apply this patch on top of acl-2.2.39-walk.patch

Comment 2 Thomas Woerner 2007-03-21 10:40:32 UTC
Fixed in rawhide in package acl-2.2.39-3.1.

Comment 3 Jiri Moskovcak 2007-07-11 09:54:12 UTC
*** Bug 230579 has been marked as a duplicate of this bug. ***