Bug 147790 - [zfs] zfs set acl(mode|inherit) fails on existing zfs
Summary: [zfs] zfs set acl(mode|inherit) fails on existing zfs
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 15:10 UTC by Robert Schulze
Modified: 2011-10-11 08:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Schulze 2010-06-11 15:10:02 UTC
After creating a zfs, altering the properties aclmode or aclinherit, ends up with the following message:
"property 'aclmode' not supported on FreeBSD: permission denied"

But aclmode/aclinherit can be set during _creation_ of the ZFS with the help of zfs create -o aclmode=passthrough foo

How-To-Repeat: $ zfs create foo
$ zfs set aclmode=passthrough foo
property 'aclmode' not supported on FreeBSD: permission denied
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-06-15 02:07:52 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Garrett Cooper 2011-10-09 20:30:43 UTC
This works with ZFS v28:

# zfs set aclmode=groupmask tank
# zfs get aclmode tank
# zfs create tank/foo
# zfs get aclmode tank/foo
NAME      PROPERTY  VALUE        SOURCE
tank/foo  aclmode   groupmask    inherited from tank
# zfs set aclmode=passthrough tank/foo
# zfs get aclmode tank/foo
NAME      PROPERTY  VALUE        SOURCE
tank/foo  aclmode   passthrough  local

Please try upgrade to 9.0; you may need to upgrade your zpool via
'zpool upgrade -a' (highly unlikely though).

HTH,
-Garrett
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2011-10-10 08:55:35 UTC
If you need this property, you have to upgrade to one of the following:

8-STABLE revision 224564 (Aug 01, 2011) or newer
9-STABLE
HEAD revision 224174 (Jul 18, 2011) or newer

FreeBSD 9.0 and 8.3 will have ZFS v28 and support this property.

-- 
Martin Matuska
FreeBSD committer
http://blog.vx.sk
Comment 4 Robert Schulze 2011-10-10 09:04:33 UTC
Hi,

Am 09.10.2011 21:30, schrieb Garrett Cooper:
> This works with ZFS v28:
>

well, then this can be closed.
I wonder why nobody cared for this one in the meantime.

with kind regards,
Robert Schulze
Comment 5 Martin Matuska freebsd_committer freebsd_triage 2011-10-11 08:21:10 UTC
State Changed
From-To: open->closed

Closed on submitter request. Thanks!