Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8201013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:39:25+00:00 2026-06-07T06:39:25+00:00

Solaris 10. I am trying to test a fix to a purchased application. Previously

  • 0

Solaris 10.

I am trying to test a fix to a purchased application. Previously the application did not correctly handle the error from tar when an input file was > 8 GB. The application has been patched to use the E option for tar, so it will no longer get this error. That piece is easy to test.

However, I also want to test that the application will correctly process an error when tar returns one. Since I can’t use the file > 8 GB, I am now looking for another way to get tar to throw an error.

Any suggestions?

Thanks,
Jim

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:39:27+00:00Added an answer on June 7, 2026 at 6:39 am

    How about:

    % echo wibble >t.tar
    % tar tvf t.tar
    tar: Unrecognized archive format: Inappropriate file type or format
    tar: Error exit delayed from previous errors.
    % echo $?
    1
    % 
    

    …or is that too obvious, or perhaps the wrong sort of error?

    Or here’s an error produced when creating a tarball (edited following OP’s comment):

    % mkdir foo
    % chmod 0 foo
    % ls -ld foo
    d---------  2 norman  wheel  68 10 Jul 18:13 foo/
    % tar cf foo.tar foo
    tar: foo: Couldn't visit directory: Permission denied
    tar: Error exit delayed from previous errors.
    % echo $?
    1
    % 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to port an application from windows to solaris and I found
I am not a Solaris expert and I am trying to create a shell
i am trying to execute awk script below on solaris but it's giving error
I am trying to port some C++ code from Windows to Solaris(Unix). There are
I am trying to login in to my works Solaris box from cygwin on
I'm trying to compile samtools on a Solaris server where I do not have
I am trying to compile a rather big application on Solaris. Compiling it on
I'm trying to tar up all the *.class files only on a Solaris box
I'm trying to build binutils 2.21.1a from http://ftp.gnu.org/gnu/binutils on Solaris sun4u sparc SunOS 5.10.
I am trying to SCP a file from my application to a server using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.