[Bug 1547984] Re: Downloading a package with root warns

Julian Andres Klode juliank at ubuntu.com
Thu May 12 10:36:54 UTC 2016


Thanks for your input. Unfortunately, you have a failure for
/var/lib/apt/lists, so we'd need to see the permissions for that and not
for /var/cache/apt/archives.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1547984

Title:
  Downloading a package with root warns

Status in apt package in Ubuntu:
  Confirmed

Bug description:
  I'm using Ubuntu 16.04 dev with apt 1.2.3 and on downloading a package
  with root I'm getting an error message like this example shows:

  root at ubuntu:~/tmp# apt-get download nvidia-settings
  Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 nvidia-settings amd64 361.28-0ubuntu1 [856 kB]
  Fetched 856 kB in 0s (1026 kB/s)         
  W: Can't drop privileges for downloading as file '/root/tmp/nvidia-settings_361.28-0ubuntu1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

  
  The file gets created for root:root with the permissions 0644 and if I'm trying to download the file with my normal user it works successfully while also getting the same permissions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1547984/+subscriptions



More information about the foundations-bugs mailing list