Public bug reported: Binary package hint: alien
I am using alien version 8.73 on Ubuntu Jaunty. A particular RPM I was trying to convert had some non-root suid/sgid binaries - these permissions were not being preserved in the alien-produced .deb package. The alien postinst script was setting the ownership correctly, but not the permissions. I think I found an operator precedence bug in /usr/share/perl5/Alien/Package/Rpm.pm, line 258: if (defined($owninfo{$file}) && ($mode & 07000 > 0)) { This line should read as: if (defined($owninfo{$file}) && (($mode & 07000) > 0)) { The precedence of ">" above "&" appears to have the effect of the owninfo hash only being updated on files with world-execute set. Patch is attached ** Affects: alien (Ubuntu) Importance: Undecided Status: New -- Alien does not always get permissions right in RPM to DEB https://bugs.launchpad.net/bugs/525561 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs