[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fakeroot-hurd bug or not?
From: |
Samuel Thibault |
Subject: |
Re: fakeroot-hurd bug or not? |
Date: |
Thu, 8 Oct 2015 22:13:09 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
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