From owner-freebsd-fs@FreeBSD.ORG Mon Dec 15 20:59:47 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0360413 for ; Mon, 15 Dec 2014 20:59:47 +0000 (UTC) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B52B1971 for ; Mon, 15 Dec 2014 20:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=WKW/gbJ+kx4U87hCaXl1mDAdlvFVQ2uSMEPfa4QGcAA=; b=QOseVEN5ZhjavUgAXjspREbFvVj2ZN5JMQ+OmythROWg1wut9/RPvFROBxZYUhcum+hk4nLS7hw1LbISwS6QyiYgAa28za0+ui2CRvdpvvvDHDyJlIZjz8THbcN+eTGAbX8qWafmWsbTLmhXwQdcdKJfc+jofMQ8s6ilQoyB7EA=; Received: from 104-54-221-134.lightspeed.austtx.sbcglobal.net ([104.54.221.134]:61968 helo=borg.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Y0ck5-00095T-ND for freebsd-fs@freebsd.org; Mon, 15 Dec 2014 14:59:47 -0600 Date: Mon, 15 Dec 2014 14:59:34 -0600 From: Larry Rosenman To: freebsd-fs@freebsd.org Subject: Re: zfs diff without allow as user gets coredump? Message-ID: <20141215205934.GA3005@borg.lerctr.org> References: <20141215204833.GA2858@borg.lerctr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141215204833.GA2858@borg.lerctr.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, TVD_RCVD_IP=0.001 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, TVD_RCVD_IP=0.001 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2014 20:59:48 -0000 On Mon, Dec 15, 2014 at 02:48:34PM -0600, Larry Rosenman wrote: > Should we get a better message if you try to do a zfs diff as a normal > user, and diff hasn't been allowed? > > You currently get: > borg.lerctr.org /home/ler $ zfs diff zroot/home/ler@zfs-auto-snap_hourly-2014-12-15-12h00 > internal error: Invalid argument > Abort trap (core dumped) > borg.lerctr.org /home/ler $ > > Just curious. borg.lerctr.org /home/ler $ uname -a FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #26 r275811: Mon Dec 15 12:36:41 CST 2014 root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 borg.lerctr.org /home/ler $ svn info /usr/src Path: /usr/src Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 275812 Node Kind: directory Schedule: normal Last Changed Author: delphij Last Changed Rev: 275812 Last Changed Date: 2014-12-15 12:28:22 -0600 (Mon, 15 Dec 2014) -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688