TheChymera / mkstage4

Bash Utility for Creating Stage 4 Tarballs
GNU General Public License v3.0
104 stars 22 forks source link

tar returns error on TTY #8

Closed celsone closed 7 years ago

celsone commented 7 years ago

Line bellow in mkstage4.sh: cd / && tar -cjpP --igonre-failed-read -f Causes errors on tty.

TheChymera commented 7 years ago

The line below that line is blank. Could you show me exactly what command you are running and how it is failing?

celsone commented 7 years ago

Command ./mkstage4.sh -s filename

Outuput

tar (child): --exclude=home/*/.bash_history: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: --exclude=home/*/.bash_history: Cannot write: broken pipe
tar: Child returned status 2
tar: Error is not recoverable: exiting now
TheChymera commented 7 years ago

can you run ls home/*/.bash_history and paste the output?

celsone commented 7 years ago

Yes of course. ls: cannot access home/*/.bash_history: No such file or directory If I put "/" before home shows no error

TheChymera commented 7 years ago

how about cd / && ls home/*/.bash_history ? can you paste the output exactly?

celsone commented 7 years ago

No problem: home/clsx/.bash_history

TheChymera commented 7 years ago

Ah, ok, I see what went wrong. It's fixed as of 3ee72e46fc17a8fedf25186053547fd26db77ba0 (so you can just download the script again and it should work).

Thank you for reporting this, and should you have any more issues in the future I would like to ask you to not hesitate in opening another issue; but please start by pasting the command that caused the error and the output you got - entirely.

celsone commented 7 years ago

Thank you for your help. I am on phone now so I have problem to copy from laptop screen I apologize for that.