On Sat, Oct 03, 2020 at 02:21:45PM +0200, Ingo Schwarze wrote:
> Hi Richard,
Hi Ingo,
>
> Richard Ipsum wrote on Sat, Oct 03, 2020 at 01:14:07PM +0200:
>
> > I needed fakeroot for some tests I'm writing,
>
> You are not really explaining what it is that you actually
> want to do...
>
> So i'm guessing a bit:
>
> https://manpages.debian.org/buster/fakeroot/fakeroot.1.en.html
>
> says:
>
> fakeroot runs a command in an environment wherein it appears to
> have root privileges for file manipulation. This is useful for
> allowing users to create archives (tar, ar, .deb etc.) with files
> in them with root permissions/ownership.
Yeah that's exactly what sfakeroot does. Like I say I looked into
porting fakeroot, but it was way too complicated for me to be honest.
>
> If that is what you need, then the OpenBSD facility serving the
> same purpuse is documented here:
>
> https://man.openbsd.org/mount.8#noperm
>
> Yours,
> Ingo
Someone told me about that, but I couldn't see how to use it without
already being root (in order to mount an fs with noperm).
Maybe I missed something though?
Thanks,
Richard
No comments:
Post a Comment