[techtalk] manpages cannot create index.bt

Jen Hamilton jhamilto at n2h2.com
Tue May 1 14:15:37 EST 2001


Strace was a good idea, but didn't give any more information in this
case. It only said "permission denied." and no EPERM errors. 

However, I made /var/qmail/man world readable, ran `man <command>`, and
index.bt was created. This let me see that index.bt is created by 'man',
who is part of the users group. However, /var/qmail/man is owned by
root:qmail. Thus, I added the group 'qmail' to user 'man'. 

rfrtest:/var/qmail/man# ls -ld .
drwxrwxrwx   10 root     qmail        4096 May  1 14:13 .


rfrtest:/var/qmail/man# ls -l
total 40
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 cat1
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 cat5
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 cat7
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 cat8
-rw-r--r--    1 man      users        8192 May  1 14:13 index.bt
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 man1
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 man5
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 man7
drwxr-xr-x    2 root     qmail        4096 Apr 27 15:12 man

Thanks for you help,
Jen

On Tue, 1 May 2001, Jeff Dike wrote:

> jhamilto at n2h2.com said:
> > man: can't create index cache /var/qmail/man/index.bt: Permission
> > denied
> > I've checked permissions on /var, /var/qmail, and /var/qmail/man, and
> > they all the same as another system where this error doesn't happen. I
> > can also touch a file in /var/qmail/man.  
> 
> Try running 'strace man <whatever>' and look for something returning EPERM 
> right before the write that spits out the "permission denied".
> 
> That should tell you what file is involved.
> 
> 				Jeff
> 
> 
> 





More information about the Techtalk mailing list