From jaomatos at gmail.com  Sat Mar  4 00:17:14 2006
From: jaomatos at gmail.com (=?ISO-8859-1?Q?Jos=E9_Matos?=)
Date: Fri, 3 Mar 2006 23:17:14 +0000
Subject: [Rd] Build directory path saved in Meta/hsearch.rds
In-Reply-To: <9fd2371d0603031232k5e217784y@mail.gmail.com>
References: <9fd2371d0603031232k5e217784y@mail.gmail.com>
Message-ID: <9fd2371d0603031517n985acc0y@mail.gmail.com>

On 03/03/06, Jos? Matos <jaomatos at gmail.com> wrote:
> Hi,
>   in Fedora Extras we build R packages to a temporary directory. The
> relevant section in
> the spec file is this:
>
> %build
> cd ..; R CMD INSTALL %{packname} -l %{buildroot}%{_libdir}/R/library
>
> It works. :-)
>
> We noticed one problem though (I will assume working on ix86 here) the
> temporary build path is saved in
> /usr/lib/R/library/*/Meta/hsearch.rds, i.e. for each package.

  Searching a little bit more I see that Peter Daalgard came to the
same conclusion one month ago:
https://stat.ethz.ch/pipermail/r-help/2006-February/086069.html

> To see this is enough to run strings over these file.
>
> Is this a security concern? Does R uses this path in any way?
>
> In case the answer is yes, it is safe to run sed over this file and do
> a textual replacement?
>
> Thanks and best regards,
> --
> Jos? Matos
>

--
Jos? Ab?lio



[Rd] Build directory path saved in Meta/hsearch.rds
=?ISO-8859-1?Q?Jos=E9_Matos?=