[R] tiny bug in R installation (redhat)
Dan E. Kelley
kelley at Phys.Ocean.Dal.CA
Thu Mar 2 15:28:00 CET 2000
Thanks for the ideas. If it's okay for other folks, then of course I'm
happy (since I just changed the permissions myself). It seems odd to me
that only two files were affected. PS: root has umask of 066 on my
system.
There's no need to reply to this; I was just emailing in case it
might help to find a bug in the installation procedure.
On Thu, 2 Mar 2000, Martyn Plummer wrote:
> On 01-Mar-00 Dan E. Kelley wrote:
> > First, let me join the chorus of praise for R. (Hey, isn't somebody going
> > to analyse all these praise emails in some statistical way?)
> >
> > I'm writing to point out an error in the file permissions in the
> > linux/redhat version. (I'm using R-base-1.0.0-1.i386.rpm, by the way.)
> >
> > The permissions in /usr/lib/R/doc/html aren't correct, since
> > 'function.html' and 'packages.html' are both only readible by the owner
> > (who is the system user, named 'root'), and not by normal users.
> >
> > Sure, I can fix this on my machine (and have, of course), but I thought it
> > was worth pointing out so that somebody can tweak either the "spec"
> > file that was used in generating the linux/redhat package, or
> > perhaps the Makefile that I presume is being used by other R installers.
>
> I don't have this problem:
>
> [root at xena i386]# rpm -Uvh R-base-1.0.0-1.i386.rpm
> R-base ##################################################
> updating LibIndex for library /usr/lib/R/library ...
> updating HTML index ...
> [root at xena i386]# ls -l /usr/lib/R/doc/html/function.html
> -rw-rw-r-- 1 root root 177166 Mar 2 10:52
> /usr/lib/R/doc/html/function.html
> [root at xena i386]# ls -l /usr/lib/R/doc/html/index.html
> -rw-r--r-- 1 root root 1481 Feb 29 12:34
> /usr/lib/R/doc/html/index.html
> [root at xena i386]# umask -S
> u=rwx,g=rwx,o=rx
>
> These files are built by the post-install script. My only guess is that
> you have changed the umask for root so that newly created files are not
> readable by other users.
>
> Martyn
>
Dan E. Kelley internet: mailto:Dan.Kelley at Dal.CA
Oceanography Department phone: (902)494-1694
Dalhousie University fax: (902)494-2885
Halifax, NS, CANADA, B3H 4J1 http://www.phys.ocean.dal.ca/~kelley
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list