On Tue, May 23, 2000 at 04:43:58PM -0400, Brian Stults wrote: > For some reason, root cannot view manpages. If I type "man ls" as root, > I get the following: > > man: can't create a temporary filename: Permission denied > > It works fine as an ordinary user. I did an strace on the command, but
i am not sure why it runs as a normal user but i do see your problem: stat("/tmp", {st_mode=S_IFDIR|0774, st_size=4096, ...}) = 0 ^^^^ chmod 1777 /tmp should fix the problem. right now it appears to not be world writeable or executable. here is the output from my strace man ls: stat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=2048, ...}) = 0 the sticky bit does not seem to show up in that mask but the rest of the permissions do. > I'm not sure what to make of it. I've included the output below. If > anyone could take a look and give me some suggestions, I would really > appreciate it. > > Thanks, > Brian [snip] -- Ethan Benson http://www.alaska.net/~erbenson/
pgpFnTeYqs29V.pgp
Description: PGP signature