Subject: Re: running mtree as non-root? [patch]
To: Hubert Feyrer <>
From: Luke Mewburn <>
List: tech-pkg
Date: 10/06/2003 13:23:04
On Mon, Oct 06, 2003 at 05:14:59AM +0200, Hubert Feyrer wrote:
  | Right now, doesn't run mtree at all if pkg operation is
  | performed as non-root. This leads to directories not present, and being
  | installed as files. E.g. when something like pkgsrc/misc/figlet does "cp
  | file $PREFIX/man/man6"  and man6 is not a directory, one ends up with a
  | file $PREFIX/man/man6, and pkg_delete fails too.
  | I understand that mtree prints a lot of errors about wrong ownership etc.,
  | but I think that's still better than not having the dirs at all.

mtree -W prevents those errors...