Bug 230579

Summary: getfacl exit code changed between FC6 and devel
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: aclAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dfediuck, sct
Target Milestone: ---Flags: wtogami: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-11 09:54:02 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:

Description Tim Waugh 2007-03-01 16:47:08 UTC
Description of problem:
In FC6, 'touch a; getfacl a' gave an exit-code of 0.  In devel
(acl-2.2.39-3.fc7) it gives an exit-code of 1.  The coreutils test suite checks
the exit code and determines than an error has occurred, and fails the ACL tests.

Can we get some documentation on what the expected meaning of the exit code for
getfacl and setfacl is, as well as a bit of consistency?  For instance, if it's
an error exit code (as seems to be the case from the source code) -- what was
the error in 'touch a; getfacl a'?

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

How reproducible:
100%

Steps to Reproduce:
1.touch a
2.getfacl a
3.echo $?
  
Actual results:
1

Expected results:
0

Additional info:
No documentation about the exit code in the man page.

Comment 1 Jiri Moskovcak 2007-07-09 12:38:49 UTC
Package Change Request
======================
Package Name: acl
Updated Fedora Owners: jmoskovc

Comment 2 Jiri Moskovcak 2007-07-11 09:54:02 UTC

*** This bug has been marked as a duplicate of 232884 ***