SCIENTIFIC-LINUX-DEVEL Archives

June 2008

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

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

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

Print Reply
Sender:
Maillling list for Scientific Linux developers worldwide <[log in to unmask]>
Date:
Fri, 13 Jun 2008 11:05:56 -0500
MIME-version:
1.0
Reply-To:
Troy Dawson <[log in to unmask]>
Content-type:
text/plain; format=flowed; charset=ISO-8859-1
Subject:
From:
Troy Dawson <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7BIT
Comments:
To: Dr Andrew C Aitchison <[log in to unmask]> cc: "[log in to unmask]" <[log in to unmask]>
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