Bug 368461

Summary: setfacl has wrong exit code
Product: Red Hat Enterprise Linux 5 Reporter: Jiri Moskovcak <jmoskovc>
Component: aclAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: dfediuck, sct
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-11-07 12:10:04 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 Jiri Moskovcak 2007-11-06 16:18:14 UTC
Description of problem:
setfacl returns 0 even if it fails.

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

How reproducible:
100%

Steps to Reproduce:
# setfacl --restore=acl.dump
setfacl: acl.dump: Invalid argument in line 2
# echo $?
0

acl.dump contains some wrong informations.
  
Actual results:
setfacl returns zero exit code => succes.

Expected results:
setfacl should return non-zero exit code.

Comment 1 Jiri Moskovcak 2007-11-07 12:10:04 UTC

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