[Bug 498545] Re: Overwrites ~/.aptitude/config with root permissions if run under sudo

Axel Beckert abe at debian.org
Thu Aug 18 09:10:51 UTC 2016


** Summary changed:

- Overwrites ~/.aptitude/config
+ Overwrites ~/.aptitude/config with root permissions if run under sudo

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

Title:
  Overwrites ~/.aptitude/config with root permissions if run under sudo

Status in aptitude package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: aptitude

  Bug 10537 seems to be back.

  When I run `sudo aptitude something`, it unlinks and overwrites my
  ~/.aptitude/config and since it's running as root, it get's owned by
  root:root, and chmod 640. If then run as me, it can't read the file
  and uses default settings, and then replaces the config with a empty
  file.

  ProblemType: Bug
  Architecture: i386
  Date: Sat Dec 19 17:22:33 2009
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: wl
  Package: aptitude 0.4.11.11-1ubuntu6
  ProcEnviron:
   LC_TIME=en_DK.UTF-8
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
  SourcePackage: aptitude
  Uname: Linux 2.6.31-16-generic i686

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



More information about the foundations-bugs mailing list