* Fix a longstanding bug I was only recently told about: When converting

from rpm, ignore the icky file owners and perms from the cpio archive,
     and query rpm for the real set that it overrides in the control data
     structure. Closes: #151546
This commit is contained in:
joey
2002-07-09 00:54:38 +00:00
parent 92a03172da
commit eb41790008
3 changed files with 34 additions and 1 deletions

View File

@@ -364,7 +364,7 @@ unless (@ARGV) {
if (! -w '.') {
die("Cannot write to current directory. Try moving to /tmp and re-running alien.\n");
}
if ($> ne 0) {
if ($> != 0) {
if ($destformats{deb} && ! $generate && ! $single) {
die "Must run as root to convert to deb format (or you may use fakeroot).\n";
}