[Semibug] Problem with mtree

Josh Grosse josh at jggimi.net
Mon Apr 24 08:20:51 EDT 2023


On Mon, Apr 24, 2023 at 08:17:56AM -0400, Josh Grosse wrote:
> On Mon, Apr 24, 2023 at 02:47:34AM -0600, Jonathan Drews wrote:
> > My computer system:
> > $ uname -mprsv
> > OpenBSD 7.3 GENERIC.MP#1125 amd64 amd64
> > 
> > I have a problem with running mtree as root. I want to make a base file
> > for / and all it's subdirectories using the command:
> > 
> > # mtree -ck sha256digest > /root/root24Apr2023.mtree
> > 
> > but I get the following error message:
> > 
> > unknown keyword: sha256digest.
> > 
> > however if I run it as an ordinary user it works fine:
> > 
> > $ mtree -cK sha256digest  > homeCleetus3.mtree
> 
> I am unable to replicate this problem.  Check the shell
> you are using as root.  By default it should be /bin/ksh.

One additional thought -- you might be using a different mtree
if your user and your superuser have a different $PATH.



More information about the Semibug mailing list