6705392 setfacl does not handle correclty default:mask and default:other
4828578 setfacl: incorrect error msg when setting mask/other on fs without acl support
--- a/usr/src/cmd/setfacl/setfacl.c Thu Jun 18 10:30:22 2009 +0100
+++ b/usr/src/cmd/setfacl/setfacl.c Thu Jun 18 15:30:30 2009 +0530
@@ -19,18 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#ifndef lint
-static char sccsid[] = "%Z%%M% %I% %E% SMI";
-#endif
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -449,8 +438,10 @@
is_obj = ((tmpacl.a_type == USER_OBJ) ||
(tmpacl.a_type == GROUP_OBJ) ||
+ (tmpacl.a_type == CLASS_OBJ) ||
(tmpacl.a_type == DEF_USER_OBJ) ||
- (tmpacl.a_type == DEF_GROUP_OBJ));
+ (tmpacl.a_type == DEF_GROUP_OBJ) ||
+ (tmpacl.a_type == DEF_OTHER_OBJ));
cur_cnt = *cntp - 1;
switch (mode) {