Tar encounters error: "Error exit delayed from previous errors"

Source: Internet
Author: User
Tags chmod ftp file permissions

A problem that may come across

Use the tar command (TAR-CVFZ src.tar.gz src) to compress a directory,

Encountered error "error exit delayed from previous errors"

The reason option "F" means the archive file name is given on the command

Line (required whenever the tar output is going to a file),

F need to be followed by the name of the compressed file.

So the tar command from "TAR-CVFZ src.tar.gz src" changed to "TAR-CZVF src.tar.gz src",

Two problems that may be encountered

In Google search, there are two possible scenarios for this problem:

12 There may be files in the packaged directory that do not have read (r) permissions, and directories that may be in the packaged directory do not have the Execute (x) permission.

Locate the file or directory that has a problem with the permissions and change their permissions by using the following chmod command:

12345 # Change file permissions chmod u+r File # change directory permissions chmod-r u+xr dir

After the permission setting is complete, then using the TAR command to package the compression, there will be no tar:error exit delayed from previous errors error.

Question three,

Sometimes the tar function may be incorrectly prompted because of an FTP upload problem

FTP is transmitted in a binary way:

12345 FTP Omit login password and ... # FTP command mode,

Set transfer mode for binftp> binftp> put ~/xxx.tar.gz yyy.tar.gz

Okay, about the error exit delayed from previous errors basically on these kinds of people can refer to.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.