SCIENTIFIC-LINUX-DEVEL Archives

June 2008

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Fri, 13 Jun 2008 11:05:56 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
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
__________________________________________________

ATOM RSS1 RSS2