Ok root as in user as opposed to root as in location in filesystem
Thanks Richard... On Sat, 3 Oct 2020 at 12:49, Richard Ipsum <richardip...@vx21.xyz> wrote: > > Hi, > > Sorry I'm not sure I understand, but anyway as far as I know you have to be > root already to use chroot, and the main goal of fakeroot is to avoid > having to become root when you don't really need to. So fakeroot just > gives the appearances of being root without actually running anything > as root. > > Thanks, > Richard > > On Sat, Oct 03, 2020 at 12:30:30PM +0100, Tom Smyth wrote: > > Hi Richard, > > pardon my ignorance but would chroot with a copy of the / and sub > > directories, do the same thing ? > > > > thanks > > > > On Sat, 3 Oct 2020 at 12:30, Richard Ipsum <richardip...@vx21.xyz> wrote: > > > > > > Hi, > > > > > > I needed fakeroot for some tests I'm writing, but it seemed to be Linux > > > only and looked like it would be hard to port. > > > > > > So I've written a fakeroot clone for OpenBSD, it's not complete but it > > > does enough to be useful to me personally, if anyone's interested the > > > code is here: https://git.vx21.xyz/sfakeroot/ > > > > > > Since OpenBSD's coreutils are statically linked and it needs LD_PRELOAD > > > to work you'll probably want to use it with sbase[1] to be able to do > > > anything useful. > > > > > > Thanks, > > > Richard > > > > > > [1]: https://git.suckless.org/sbase/ > > > > > > > > > -- > > Kindest regards, > > Tom Smyth. -- Kindest regards, Tom Smyth.