From owner-freebsd-fs@FreeBSD.ORG Sat Sep 6 21:40:28 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38B467C2 for ; Sat, 6 Sep 2014 21:40:28 +0000 (UTC) Received: from quine.pinyon.org (quine.pinyon.org [65.101.5.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 124051971 for ; Sat, 6 Sep 2014 21:40:27 +0000 (UTC) Received: by quine.pinyon.org (Postfix, from userid 122) id 518D61602F1; Sat, 6 Sep 2014 14:40:21 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on quine.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from feyerabend.n1.pinyon.org (feyerabend.n1.pinyon.org [10.0.10.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id 59B4E160155 for ; Sat, 6 Sep 2014 14:40:18 -0700 (MST) Message-ID: <540B7F42.5070803@pinyon.org> Date: Sat, 06 Sep 2014 14:40:18 -0700 From: "Russell L. Carter" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: pefs doesn't work as regular user Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: Sat, 06 Sep 2014 21:40:28 -0000 Greetings, So this is odd. I followed the instructions at http://www.bsdnow.tv/tutorials/pefs on one system, and as a regular user it works fine. But I try it on my laptop, and I get the following: rcarter@knuth> kldstat -m pefs Id Refs Name 27 1 pefs rcarter@knuth> mkdir ~/docs rcarter@knuth> pefs addchain -f -Z ~/docs Enter parent key passphrase: Reenter parent key passphrase: rcarter@knuth> pefs mount ~/docs ~/docs pefs mount: /home/rcarter/docs: Operation not permitted rcarter@knuth> sudo pefs mount ~/docs ~/docs rcarter@knuth> pefs unmount ~/docs pefs unmount: unmount of /usr/home/rcarter/docs failed: Operation not permitted rcarter@knuth> sudo pefs unmount ~/docs rcarter@knuth> /bin/rm -rf ~/docs rcarter@knuth> So it works as root but not as $USER. I don't see anything different about /etc/group on either system. Any ideas? Thanks, Russell