That is, based on the information that have been available when the
Priority was set, it should have not been high. It should never be high
anyway, this is just a Warning (it's a W, a W, a W) after all. With the
further information about the /var thing, it should maybe be medium.

But I don't see why this happens. What's the permission for the deb in
question?

Side note: If you download stuff as a user, APT cannot drop permissions
at all (because that requires root), so it won't show a warning and just
run as a user. If you run it as root, it tries to play extra safe, but
falls back to the APT 1.0 state of running the fetching code as root if
that fails.

-- 
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