Public bug reported: 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@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. ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1547984 Title: Downloading a package with root fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1547984/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs