[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nvi error?



Hi Mike 

You wrote:
> 
> does 'ls -al /tmp' turn up any vi looking directories that may
> have bad permissions on them?

No, didn't see one.
 
> Btw, I've found the program 'strace' to be extremely useful in
> ttracking down stuff like this.   Try
> 
> strace -o output nvi somefile

Here is the output:
---edited---
 open("/usr/share/locale/C/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such
file or directory)
 brk(0x804d000)                          = 0x804d000
 stat("/etc/locale/C/libc.cat", 0xbffff22c) = -1 ENOENT (No such file or
directory)
 stat("/usr/lib/locale/C/libc.cat", 0xbffff22c) = -1 ENOENT (No such
file or directory)
 stat("/usr/lib/locale/libc/C", 0xbffff22c) = -1 ENOENT (No such file or
directory)
 stat("/usr/share/locale/C/libc.cat", 0xbffff22c) = -1 ENOENT (No such
file or directory)
 stat("/usr/local/share/locale/C/libc.cat", 0xbffff22c) = -1 ENOENT (No
such file or directory)
--snip--
 open("/usr/share/locale/C/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such
file or directory)
 open("/usr/share/locale/C/LC_MONETARY", O_RDONLY) = -1 ENOENT (No such
file or directory)
 open("/usr/share/locale/C/LC_COLLATE", O_RDONLY) = -1 ENOENT (No such
file or directory)
 open("/usr/share/locale/C/LC_TIME", O_RDONLY) = -1 ENOENT (No such file
or directory)
 open("/usr/share/locale/C/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such
file or directory)
 open("/usr/share/locale/C/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such
file or directory) 
--snip--
 sigprocmask(SIG_UNBLOCK, [HUP INT ALRM TERM WINCH], NULL) = 0
 open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES
(Permission denied)
 sigprocmask(SIG_BLOCK, [HUP INT ALRM TERM WINCH], NULL) = 0  
--snip--

Okay, that's all the edited output that had error in it.
First place I look to find these file was 'Contents' and
only  files that I could find was LC_* in wg15-locale_1-2.deb
but they were not in /usr/share/locale/C/* and no packages use
the directory. Others were not even able in other directories.

And here is output of ls -al /deb/nu*:
crwxr-xr-x   1 root     sys        1,   3 Dec 31  1969 /dev/null

Is this look right?

Thanks in advance,
David
p.s. If you need more information, tell me.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: