Dr Andrew C Aitchison wrote:
> Whilst updating to 5.2 on a machine with a non default umask
> I got caught by an "interesting" problem with the rpm command.
>
> On this the default umask is 066 (user request, but I think I'll
> revert to 022 for root). After updating rpm and SL_rpm_show_arch
> the rpm command failed with permission problems.
>
> We eventually tracked this down to SL_rpm_show_arch modifying
> /usr/lib/rpm/macros in such a way that the permissions are changed
> from the default in the package.
>
> Not sure whether to fix this by replacing the mv with cat and rm
> or to use the sed -i option.
> The untested patch attached illustrates
> both options. Note that there are three instances of the problem
> in the spec file - %post, %postun, and %triggerin.
>
> --
> Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
> [log in to unmask]http://www.dpmms.cam.ac.uk/~werdna
>
Hi,
Your patch didn't quite make it in the e-mail. It's just a list of directories.
Could you resend it.
Thanks
Troy
--
__________________________________________________
Troy Dawson [log in to unmask] (630)840-6468
Fermilab ComputingDivision/LCSI/CSI DSS Group
__________________________________________________