[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#456457: Add a mechanism for reparenting *all* file/directory names.



Make sure to run that by the security team. Don't want to hear 'bout no loopholes.
 
Luke
 
On 12/15/07, Daniel Burrows <dburrows@debian.org> wrote:
Package: apt
Version: 0.7.10
Severity: wishlist
Tags: patch

There are times when it would be nice to be able to force apt to use
a different directory tree for everything.  Setting "Dir" to a new
location won't work, because absolute paths in the Dir hierarchy will
override this.  I propose creating a new option, "RootDir", that changes
the root under which filenames in the Dir hierarchy are placed.  This
effectively means that the new directory is prepended to all filenames
returned by FindFile.

The attached patch adds support for RootDir to apt and documents it.

Daniel

-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2007.07.31       GnuPG archive keys of the Debian a
ii  libc6                   2.7-4            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20071130-1 GCC support library
ii  libstdc++6              4.3-20071130-1   The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: