Package: aptitude
Version: 0.4.6.1-1
Severity: wishlist

I invoke aptitude with "sudo aptitude" instead of "sudo -H aptitude"
so my .aptitude/config will be read (instead of root's).

The /home filesystem is an NFS mount with -o root_squash, so root can
read from but not write to ~/.aptitude:

    $ stat -L ~/.aptitude
      File: `/home/twb/.aptitude'
      Size: 4096            Blocks: 8          IO Block: 32768  directory
    Device: 15h/21d Inode: 8702031     Links: 2
    Access: (0750/drwxr-x---)  Uid: ( 1187/     twb)   Gid: ( 2000/   cyber)
    Access: 2007-09-18 09:23:14.000000000 +1000
    Modify: 2007-09-17 05:46:40.000000000 +1000
    Change: 2007-09-17 05:46:40.000000000 +1000

Thus, every time aptitude (in GUI mode) starts up it complains:

    E: /home/twb/.aptitude is readable but not writable; unable to
    write configuration file.

This is annoying.  I don't really want to give all users write access
to ~/.aptitude.  I don't want to copy ~/.aptitude to each host's
~root/.aptitude; it would be tedious and probably irritate other
admins who prefer different configuration.  (This is the same argument
against customizing root in other ways, such as changing the default
shell to csh.)

Instead I would like to be able to configure aptitude (via
~/.aptitude/config) to defer reporting this "error" until it actually
needs to modify ~/.aptitude, which in my case will be never because I
have already configured aptitude to my liking.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.6-6 0.7.6          Advanced front-end for dpkg
ii  libc6                     2.6.1-4        GNU C Library: Shared libraries
ii  libgcc1                   1:4.2.1-5      GCC support library
ii  libncursesw5              5.6+20070908-1 Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a        2.0.17-2       type-safe Signal Framework for C++
ii  libstdc++6                4.2.1-5        The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.6.1-1  English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-1    parse Debian changelogs and output

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to