<< All Posts
Why this happens? tar: Error exit delayed from previous errors


Why this happens?

tar: Error exit delayed from previous errors

If you would like to create a .tar.gz file of a directory but you gotten this error, you can simple use the follow command to see what’s happening. Usually, this happens because you don’t have access in a file or folder. When you found the problem, you can fix it just typing:

chmod 777 your_file_or_directory

To see what folder you have to set the new chmod:

tar -czvf file_compressed.tar.gz directory_to_compress > show_me_all_logs.log

You gonna see something like this:

$ tar -czvf file_compressed.tar.gz directory_to_compress > show_me_all_logs.log
tar: public_html/directory/file_denied.xml: Cannot open: Permission denied
tar: Error exit delayed from previous errors



<< All Posts