Also in the last time I'm seeing often on an "apt-get dist-upgrade"
this:

W: Can't drop privileges for downloading as file
'/var/cache/apt/archives/partial/libpython3.5_3.5.1-6ubuntu2_amd64.deb'
couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission
denied)


The permissions of the directory are this:

root@ubuntu:~# stat /var/cache/apt/archives/partial | grep 'Access: ('
Access: (0700/drwx------)  Uid: (  113/    _apt)   Gid: (    0/    root)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  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@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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to