1 |
What does |
2 |
|
3 |
xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg;echo $?' tell you? I'm thinking that gpg fails, so oocalc never launches (because you conditioned its execution with '&&', and the script continues to shred the file. |
4 |
|
5 |
My amd64 succeeds executing this (s/gpg/echo-to-tmpfile/). I would initially assume it's the usage causing the issue, rather than some arch-dependent thing. |
6 |
|
7 |
Amit |
8 |
|
9 |
|
10 |
Mick wrote: |
11 |
> Hi All, |
12 |
> |
13 |
> I have run into a problem which I cannot explain. I am trying to run this |
14 |
> script in a amd64 installation: |
15 |
> |
16 |
> xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg && oocalc \ |
17 |
> Personal/data.ods; shred --remove -z -v DATA/data.ods' |
18 |
> |
19 |
> On a x86 system, oocalc launches, I use the file and when I close it shred |
20 |
> removes it. On the amd64 system, the file is shredded as soon as it is |
21 |
> opened. This is what happens: |
22 |
> |
23 |
> [snip ...] |
24 |
> gpg: AES256 encrypted data |
25 |
> gpg: original file name='data.ods' |
26 |
> random usage: poolsize=600 mixed=0 polls=0/0 added=0/0 |
27 |
> outmix=0 getlvl1=0/0 getlvl2=0/0 |
28 |
> secmem usage: 64/32768 bytes in 1 blocks |
29 |
> I18N: Operating system doesn't support locale "en_US" |
30 |
> shred: Personal/data.ods: pass 1/4 (random)... |
31 |
> shred: Personal/data.ods: pass 2/4 (random)... |
32 |
> shred: Personal/data.ods: pass 3/4 (random)... |
33 |
> shred: Personal/data.ods: pass 4/4 (000000)... |
34 |
> shred: Personal/data.ods: removing |
35 |
> shred: Personal/data.ods: renamed to Personal/00000000 |
36 |
> shred: Personal/00000000: renamed to Personal/0000000 |
37 |
> shred: Personal/0000000: renamed to Personal/000000 |
38 |
> shred: Personal/000000: renamed to Personal/00000 |
39 |
> shred: Personal/00000: renamed to Personal/0000 |
40 |
> shred: Personal/0000: renamed to Personal/000 |
41 |
> shred: Personal/000: renamed to Personal/00 |
42 |
> shred: Personal/00: renamed to Personal/0 |
43 |
> shred: Personal/data.ods: removed |
44 |
> |
45 |
> Is this something 64bit specific? Shouldn't xrterm behave the same in both |
46 |
> x86 and amd64 with regards to this script? How do I get it to keep oocalc |
47 |
> open and shred to kick in only after the oocalc application is closed? |
48 |
> |