[Bug 1547984] [NEW] Downloading a package with root fails
Sworddragon
1547984 at bugs.launchpad.net
Sun Feb 21 01:13:09 UTC 2016
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 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.
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
--
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 fails
Status in apt package in Ubuntu:
New
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