Mailinglist Archive: zypp-devel (59 mails)
| < Previous | Next > |
[zypp-devel] Re: [zypp-commit] r11689 - /trunk/zypper/src/Zypper.cc
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Mon, 17 Nov 2008 14:43:44 +0100
- Message-id: <20081117134344.GA23256@xxxxxxx>
On Mon, Nov 17, 2008 at 12:29:03PM -0000, jkupec@xxxxxxxxxxxxxxxx wrote:
Is /tmp/zypper safe (security wise)?
Also, 444897 is some dmraid bug.
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
--- trunk/zypper/src/Zypper.cc (original)
+++ trunk/zypper/src/Zypper.cc Mon Nov 17 13:29:03 2008
@@ -3092,6 +3092,12 @@
repo.setAlias(TMP_RPM_REPO_ALIAS);
repo.setName(_("Plain RPM files cache"));
repo.setKeepPackages(false);
+ // empty packages path would cause unwanted removal of installed rpms
+ // in current working directory (bnc #444897)
+ // OTOH packages path == ZYPPER_RPM_CACHE_DIR (the same as repo URI)
+ // causes cp file thesamefile, which fails silently. This may be worth
+ // fixing in libzypp.
+ repo.setPackagesPath("/tmp/zypper");
Is /tmp/zypper safe (security wise)?
Also, 444897 is some dmraid bug.
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |