<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Dear Ingo,</div><br><div>> Check if running gpg with --compatibility-flags=no-partial-file-guard works for </div>you.<br><br><div>Thanks for the suggestion. I tried it, but the result is the same. Does the --compatibility-flags argument have to be in a particular position in the argument list?</div><div><br></div><div dir="ltr" data-setdir="false">Kind regards,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Vinay Sajip</div><br><font face=""lucida console", sans-serif"># Run failing decryption with compatibility flag<br>gpg2 --pinentry-mode loopback --status-fd 2 --no-tty --no-verbose --fixed-list-mode --batch --with-colons --homedir /tmp/keys-eidfw1_9 --passphrase-fd 0 --debug-quick-random --decrypt --yes --output /tmp/pygpg-test-qjrpzkgk.dec --compatibility-flags=no-partial-file-guard<br># Status output from gpg<br>[GNUPG:] NODATA 2<br>[GNUPG:] FAILURE decrypt 429496729<br>gpg: decrypt_message failed: Unknown system error<br># Messages from test harness<br>gpg returned a non-zero error code: 2<br># The compatibility flag didn't change the result - the mode was still changed<br>Mode changed for /tmp/pygpg-test-qjrpzkgk.dec: 0o100664 vs. 0o100700<br></font><br></div></body></html>