On Mon, Nov 17, 2008 at 12:29:03PM -0000, jkupec@svn.opensuse.org wrote:
--- 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@suse.de 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org