On Mon, Nov 27, 2000 at 03:01:13AM -0000, jim M. <[EMAIL PROTECTED]> wrote:
| >Go back through the log - there should be the actually error buried in
| >the output. GNU tar always says this because it's usually the case that
| >people use the "v" flag and miss error messages in the verbiage. So
| >it's telling you "btw, something went wrong earlier". Most of your dump
| 
| which log file is that?. /var/adm/messages??

Well, I was positing that you'd said "tar cvf - ....." and that there
was therefore a verbose listing of all the files it dumped. Buried in
that is an error message. So not a "log file" like syslog, but the
same data stream which has the "error exit delayed ..." message in it.

For example:

        [~]tiomkin*1> mkdir foo
        [~]tiomkin*> cd foo
        /home/ivie/cameron/foo
        [~/foo]tiomkin*> >1
        [~/foo]tiomkin*> >2
        [~/foo]tiomkin*> >3
        [~/foo]tiomkin*> chmod a-r 2
        + exec chmod a-r 2
        [~/foo]tiomkin*> cd ..
        /home/ivie/cameron
        [~]tiomkin*> tar cvf foo.tar foo
        foo/
        foo/1
        tar: Cannot add file foo/2: Permission denied
        foo/3
        tar: Error exit delayed from previous errors
        [~]tiomkin*2> 

Here I've made a directory with 3 files and deliberately removed all
read permission from one of them. Observe the complaint about "foo/2"
and then the "tar: Error exit delayed from previous errors" message.
With a big tar listing you'd probably not notice the error in the
middle without that reminder at the end.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Castor and Pollux, from cops preserve me and all encounters involving
insurance.      - Paul Goodman



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to