Your message dated Sun, 6 Sep 2009 11:18:31 +0200
with message-id <20090906091831.ga13...@rivendell>
and subject line Re: Bug#401877: install-info: normal users cannot install info 
file in their home
has caused the Debian Bug report #401877,
regarding install-info: normal users cannot install info file in their home
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
401877: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401877
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)


--- End Message ---
--- Begin Message ---
Version: 1.15.4

On Wed, 06 Dec 2006, Stefano Sabatini wrote:
> 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

GNU's install-info doesn't have this limitation, closing the bug now that
dpkg's install-info is gone.

Cheers,
-- 
Raphaƫl Hertzog


--- End Message ---

Reply via email to