Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Sep 2014 14:40:18 -0700
From:      "Russell L. Carter" <rcarter@pinyon.org>
To:        freebsd-fs@freebsd.org
Subject:   pefs doesn't work as regular user
Message-ID:  <540B7F42.5070803@pinyon.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540B7F42.5070803>