Justus Winter, le Thu 08 Oct 2015 12:56:20 +0200, a écrit :
> Quoting Samuel Thibault (2015-09-23 19:08:15)
> > All that being said, we should probably not let the programs inside
> > fakeroot believe they can write to /
>
> I'm not so sure. In my mind, fakeroot should fake as much as
> possible, and fail at the latest point possible.
Yes, but we have seen cases where programs, after seeing they can
access() /, would thus try to install stuff there and thus fail.
> The test program only does stat and access, and never actually tries
> to write to /.
access() is to be considered like a write, actually. fakeroot-{tcp,sysv}
were actually changes into doing that.
> > (because they may then try to, while they can't actually).
>
> We could make that possible ofc.
But that's not what people currently expect, actually.
Samuel