Bug#686026: /usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

2012-09-01 Thread xiscu

On 08/31/2012 11:02 PM, Colin Watson wrote:

On Fri, Aug 31, 2012 at 05:23:25PM +0200, xiscu wrote:

On 08/31/2012 12:32 AM, Colin Watson wrote:

On Mon, Aug 27, 2012 at 07:59:19PM +0200, xiscu wrote:

/usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

What does 'ls -ld /usr/local/share/man' say;

drwx--S--- 3 root staff 4096 Aug 25 12:41 /usr/local/share/man


  and have you intentionally
changed the permissions of that directory?

Not intentionally

Then to be honest I think the correct solution to this bug is to make
that directory world-readable/executable.  It doesn't seem to make sense
for /usr/local/share/man to be readable only by root.  Perhaps it was
set that way by some deranged install script.

   chmod 2755 /usr/local/share/man

Does that fix your problem?  Depending on how far the insanity goes, you
may need to similarly chmod some subdirectories.


I've changed the permissions (also for the subdirectories) as
you proposed, then I've upgraded the packages with aptitude
and no complains where raised. E.g.:

[...]
Unpacking replacement initscripts ...
Processing triggers for man-db ...
Setting up initscripts (2.88dsf-31) ...
[...]

As far as I can say it's gone. So I think that you can close the bug.
Nowadays I'll keep an eye on the messages, if that happens again
I can just send extra info to it (686026). Is it that Ok?

Thank you!
xiscu


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#686026: /usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

2012-08-31 Thread xiscu

On 08/31/2012 12:32 AM, Colin Watson wrote:

On Mon, Aug 27, 2012 at 07:59:19PM +0200, xiscu wrote:

/usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

What does 'ls -ld /usr/local/share/man' say;

drwx--S--- 3 root staff 4096 Aug 25 12:41 /usr/local/share/man


  and have you intentionally
changed the permissions of that directory?


Not intentionally

Regards,
Xiscu


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#686026: /usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

2012-08-31 Thread Colin Watson
On Fri, Aug 31, 2012 at 05:23:25PM +0200, xiscu wrote:
 On 08/31/2012 12:32 AM, Colin Watson wrote:
 On Mon, Aug 27, 2012 at 07:59:19PM +0200, xiscu wrote:
 /usr/bin/mandb: can't search directory /usr/local/share/man: Permission 
 denied
 What does 'ls -ld /usr/local/share/man' say;
 drwx--S--- 3 root staff 4096 Aug 25 12:41 /usr/local/share/man
 
   and have you intentionally
 changed the permissions of that directory?
 
 Not intentionally

Then to be honest I think the correct solution to this bug is to make
that directory world-readable/executable.  It doesn't seem to make sense
for /usr/local/share/man to be readable only by root.  Perhaps it was
set that way by some deranged install script.

  chmod 2755 /usr/local/share/man

Does that fix your problem?  Depending on how far the insanity goes, you
may need to similarly chmod some subdirectories.

-- 
Colin Watson   [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#686026: /usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

2012-08-30 Thread Colin Watson
On Mon, Aug 27, 2012 at 07:59:19PM +0200, xiscu wrote:
 /usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

What does 'ls -ld /usr/local/share/man' say; and have you intentionally
changed the permissions of that directory?

-- 
Colin Watson   [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#686026: /usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied

2012-08-27 Thread xiscu
Package: man-db
Version: 2.6.2-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?
Updating packages with aptitude

   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?


Unpacking replacement os-prober ...
Processing triggers for man-db ...
/usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied
/usr/bin/mandb: can't search directory /usr/local/share/man: Permission denied
Setting up libudev0:amd64 (175-7) ...


   * What outcome did you expect instead?

No errors or warnings or messages like the above ones. Just a clean
installation or update.

Thanks in advance,
xiscu

-- System Information:
Debian Release: wheezy/sid
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages man-db depends on:
ii  bsdmainutils   9.0.3
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg   1.16.8
ii  groff-base 1.21-9
ii  libc6  2.13-35
ii  libgdbm3   1.8.3-11
ii  libpipeline1   1.2.1-1
ii  zlib1g 1:1.2.7.dfsg-13

man-db recommends no packages.

Versions of packages man-db suggests:
ii  groff1.21-9
ii  iceweasel [www-browser]  10.0.6esr-2
ii  less 444-4
ii  lynx-cur [www-browser]   2.8.8dev.12-2

-- debconf information:
  man-db/install-setuid: false
  man-db/auto-update: true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org