bin/165807: setfacl -b is broken
Rudolf Cejka
cejkar at fit.vutbr.cz
Wed Mar 7 08:40:16 UTC 2012
>Number: 165807
>Category: bin
>Synopsis: setfacl -b is broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 07 08:40:15 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Rudolf Cejka
>Release: FreeBSD 8.2-STABLE i386
>Organization:
FIT, Brno University of Technology, Czech Republic
>Environment:
>Description:
setfacl -b is broken, because it does not remove ACL mask (it seems to me,
that in FreeBSD once on some object ACLs are set, it is not possible to
completely remove then anymore - in Linux it is possible to use
setfacl -b file or setfacl -x mask file if there is remaining just mask):
# touch file
# setfacl -m u:root:rw file
# setfacl -b file
# getfacl file
# file: file
# owner: root
# group: wheel
user::rw-
group::r--
mask::r--
other::r--
Also, when setfacl -b is used on default direcotry ACLs, which are not
created yet, it dumps core:
# mkdir dir
# setfacl -b -d dir
Assertion failed: (_acl_brand(acl_new) == ACL_BRAND_POSIX), function _posix1e_acl_strip_np, file /usr/src/lib/libc/posix1e/acl_strip.c, line 129.
Abort trap: 6 (core dumped)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list