diff options
author | William Gorrell <william.gorrell@sun.com> | 2009-09-15 08:42:53 -0600 |
---|---|---|
committer | William Gorrell <william.gorrell@sun.com> | 2009-09-15 08:42:53 -0600 |
commit | 9d48f5d37dfc1f8378818cf3d2baa2ccf7990c38 (patch) | |
tree | 251c0947507fa0fab9176b7164edac9edd7c8660 /usr/src/lib/pyzfs | |
parent | 0e50326a4ce28578aae604a6b6d95bc7c4ce6540 (diff) | |
download | illumos-joyent-9d48f5d37dfc1f8378818cf3d2baa2ccf7990c38.tar.gz |
6840575 Incorrect message from zfs allow when dataset name is a snapshot
Diffstat (limited to 'usr/src/lib/pyzfs')
-rw-r--r-- | usr/src/lib/pyzfs/common/allow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/pyzfs/common/allow.py b/usr/src/lib/pyzfs/common/allow.py index 092fac07ea..a5c012e338 100644 --- a/usr/src/lib/pyzfs/common/allow.py +++ b/usr/src/lib/pyzfs/common/allow.py @@ -322,7 +322,7 @@ def do_allow(): if sys.argv[2] == "-h": # hack to make "zfs allow -h" work usage() - ds = zfs.dataset.Dataset(sys.argv[2]) + ds = zfs.dataset.Dataset(sys.argv[2], snaps=False) p = dict() for (fs, raw) in ds.get_fsacl().items(): |