Bug 232884 - getfacl exit code is reversed
getfacl exit code is reversed
Product: Fedora
Classification: Fedora
Component: acl (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Thomas Woerner
: 230579 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2007-03-19 05:06 EDT by Jim Meyering
Modified: 2013-03-13 16:41 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-21 06:40:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
apply this patch on top of acl-2.2.39-walk.patch (591 bytes, patch)
2007-03-19 05:06 EDT, Jim Meyering
no flags Details | Diff

  None (edit)
Description Jim Meyering 2007-03-19 05:06:56 EDT
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

How reproducible:

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

Expected results:
  no output from those two commands

Additional info:
  patch attached
Comment 1 Jim Meyering 2007-03-19 05:06:57 EDT
Created attachment 150354 [details]
apply this patch on top of acl-2.2.39-walk.patch
Comment 2 Thomas Woerner 2007-03-21 06:40:32 EDT
Fixed in rawhide in package acl-2.2.39-3.1.
Comment 3 Jiri Moskovcak 2007-07-11 05:54:12 EDT
*** Bug 230579 has been marked as a duplicate of this bug. ***

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