Re: Buster install using debootstrap.
Greg Wooledge <wooledg@eeg.ccf.org> wrote:
> On Fri, Jun 05, 2020 at 08:30:16AM +0200, Sven Hartge wrote:
>> Marc Shapiro <marcnshap@gmail.com> wrote:
>>> I also don't understand why it says that it could not create temporary
>>> files in /tmp. I am running this as root and /tmp is owned by root.
>>> What am I missing?
>>
>> /tmp (and /var/tmp/) should have the following permissions and rights:
>>
>> root:root 1777/drwxrwxrwt
>>
>> apt runs its I/O processes as a different user "_apt" and if /tmp does
>> not have the sticky bit set, then it cannot create any files there,
>> causing the error.
> To be completely clear, it's the world-write bit that allows _apt to
> create files/subdirectories there. The sticky bit prevents other
> users from removing or renaming said files/subdirectories while _apt
> is using them.
Eh, yes, of course. Was ahead in my thoughts and mixed both facts
together.
Grüße,
Sven.
--
Sigmentation fault. Core dumped.
Reply to: