Give better error msg from chacl(1) for invalid ACLs which have valid
ACEs.
--Tim
Date: Wed Apr 25 18:49:43 PDT 2001
Workarea: snort.melbourne.sgi.com:/diskb/build4/tes/slinx-xfs-acl
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:93419a
cmd/xfstests/051.out - 1.7
- Update as we have changed chacl for its error checking.
cmd/acl/chacl/chacl.c - 1.3
- Even if acl_from_text() doesn't have a problem with the ACL it
may still be incomplete as far as the correct set of ACEs are
concerned
so call acl_valid on the ACL as well.
This is a better check for the "invalid ACL spec" error msg.
|