[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#885928: apt: warning installing local files: N: Download is performed unsandboxed as root ...



Package: apt
Version: 1.6~alpha5
Severity: minor
Usertags: warnings

I just installed some debs from a local directory using apt. After the
install completed I got a warning about how the download was done
unsandboxed because _apt got permission denied reading the files.
This is because my home directory is 0700. I'm not sure that the
sandboxing for reading files off the local disk is a useful thing
to do but the warning definitely isn't a useful thing to print.

pabs ~/path/to/debs $ sudo apt install ./foo.deb
[sudo] password for pabs: 
...
N: Download is performed unsandboxed as root as file '/home/pabs/path/to/debs/foo.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt depends on:
ii  adduser                 3.116
ii  debian-archive-keyring  2017.7
ii  gpgv                    2.2.3-1
ii  libapt-pkg5.0           1.6~alpha5
ii  libc6                   2.25-5
ii  libgcc1                 1:7.2.0-18
ii  libgnutls30             3.5.16-1
ii  libseccomp2             2.3.1-2.1
ii  libstdc++6              7.2.0-18

Versions of packages apt recommends:
ii  ca-certificates  20170717

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.10-1
ii  dpkg-dev        1.19.0.4
ii  gnupg           2.2.3-1
ii  gnupg1          1.4.22-3
ii  gnupg2          2.2.3-1
ii  powermgmt-base  1.31+nmu1
ii  python-apt      1.4.0~beta3+b1

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: