Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223068

Re: Buster install using debootstrap.

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Buster install using debootstrap.
Date 2020-06-05 13:30 +0200
Message-ID <AeiHT-2J0-1@gated-at.bofh.it> (permalink)
References <AedIe-8gl-5@gated-at.bofh.it> <Aeebf-8pW-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Buster install using debootstrap. Marc Shapiro <marcnshap@gmail.com> - 2020-06-05 08:10 +0200
  Re: Buster install using debootstrap. Sven Hartge <sven@svenhartge.de> - 2020-06-05 08:40 +0200
    Re: Buster install using debootstrap. Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-05 13:30 +0200
      Re: Buster install using debootstrap. Sven Hartge <sven@svenhartge.de> - 2020-06-05 13:40 +0200
    Re: Buster install using debootstrap. Roberto C. Sánchez <roberto@debian.org> - 2020-06-05 14:20 +0200
    Re: Buster install using debootstrap. Marc Shapiro <marcnshap@gmail.com> - 2020-06-06 03:40 +0200
      Re: Buster install using debootstrap. (SOLVED) Marc Shapiro <marcnshap@gmail.com> - 2020-06-06 06:20 +0200

csiph-web