1 |
Locke writes: |
2 |
|
3 |
> why do you extract all files in the tar archive? |
4 |
|
5 |
Oh shit! I forgot to explain something! Look closely at the |
6 |
line you neglected to quote: |
7 |
|
8 |
/bin/tar --exclude=CVS -cjf ${FILENAME} portage |
9 |
|
10 |
First of, the lack of any '+' or '-' in front of it means |
11 |
that I actually didn't modify it in any way but that it was |
12 |
in the script to begin with. So it is not quite exactly my |
13 |
"code". |
14 |
|
15 |
Secondly, if you look real hard, you'll find the use of the |
16 |
flag '-c' on that command. This is an abbreviation for |
17 |
"create", which means that the command creates a tar |
18 |
archive. So it's not really extracting anything from the |
19 |
archive. If you want to know more about this, check out |
20 |
this: |
21 |
|
22 |
man tar |
23 |
|
24 |
|
25 |
> And please stop your sarcastic expressions. |
26 |
|
27 |
Just did. |
28 |
|
29 |
Peter |
30 |
|
31 |
|
32 |
-- |
33 |
gentoo-security@g.o mailing list |