Package: install-info
Severity: normal

Normal users cannot install a dir file in their home (e.g. in
~/share/info) with normal privileges.

Here it is my $INFOPATH:
~/share/info:/usr/local/share/info:/usr/share/info
.

I'm trying to install a file (foo.info) in ~/share/info/dir with the
following command:
install-info --dir-file="$HOME/share/info" foo.info

and I get the following output:

install-info(foo.info): replacing existing dir entry for `foo'
cp: cannot create regular file `/var/backups/infodir.bak': Permission denied
install-info(foo.info): could not backup /home/sds/share/info/dir in 
/var/backups/infodir.bak: Inappropriate ioctl for device

A dir and a dir.old file are created in the ~/share/info dir (they
contain a lot of entryies of packages installed in other directories).

This happen both when the the dir file already exists, and when it doesn't.

To be able to install the dir file is needed to perform the command as
root, and in this case the generated files will have root permissions.

I'm not sure if this is a proper normal bug or rather a wishlist, but
I think it's a quite natural request to let users to install a private
hierarchy of info files in their home without any reference to other
info files in other directories (that can be displayed anyway in the
root info dir screen when calling info using the usual $INFOPATH
interpretation mechanism).

Regards

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.1.061122.kenshiro
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


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

Reply via email to