[R] Install of R-1.7.0; permissions.

Rolf Turner rolf at math.unb.ca
Thu Apr 17 15:41:26 CEST 2003


I just installed R-1.7.0 on our (solaris 2.9) system and was
pleasantly surprise by how well things went.  The hang-ups that
occurred when I tried (and failed) to install R-1.6.2 did not show
up.

However there was one minor glitch:  Some of the permissions on
the files in the installed version (in /usr/local/lib/R) were
wrong. E.g. here's a listing of /usr/local/lib/R/library:

===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
{erdos} /usr/local/lib/R/library ## ls -l
total 28
drwxr-xr-x  10 root          512 Apr 16 15:52 KernSmooth/
drwxr-xr-x  13 root          512 Apr 16 15:52 MASS/
-rw-r--r--   1 root          608 Apr 16 15:52 R.css
drwx------  11 root          512 Apr 16 15:52 base/
drwxr-xr-x  10 root          512 Apr 16 15:52 boot/
drwxr-xr-x  10 root          512 Apr 16 15:52 class/
drwxr-xr-x  11 root          512 Apr 16 15:52 cluster/
drwx------  10 root          512 Apr 16 15:52 ctest/
drwx------  11 root          512 Apr 16 15:52 eda/
drwxr-xr-x  10 root          512 Apr 16 15:52 foreign/
drwxr-xr-x  11 root          512 Apr 16 15:52 grid/
drwxr-xr-x  12 root          512 Apr 16 15:52 lattice/
drwx------  10 root          512 Apr 16 15:52 lqs/
drwx------  10 root          512 Apr 16 15:52 methods/
drwxr-xr-x  10 root          512 Apr 16 15:52 mgcv/
drwx------  11 root          512 Apr 16 15:52 modreg/
drwx------  11 root          512 Apr 16 15:52 mva/
drwxr-xr-x  13 root          512 Apr 16 15:52 nlme/
drwx------  11 root          512 Apr 16 15:52 nls/
drwxr-xr-x  10 root          512 Apr 16 15:52 nnet/
drwxr-xr-x  11 root          512 Apr 16 15:52 rpart/
drwxr-xr-x  11 root          512 Apr 16 15:52 spatial/
drwx------  10 root          512 Apr 16 15:52 splines/
drwx------   9 root          512 Apr 16 15:52 stepfun/
drwxr-xr-x  11 root          512 Apr 16 15:52 survival/
drwx------  11 root          512 Apr 16 15:52 tcltk/
drwx------  11 root          512 Apr 16 15:52 tools/
drwx------  11 root          512 Apr 16 15:52 ts/
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===

You'll notice that a substantial number --- though not all --- of the
directories are executable/readable only by root.  (I became root in
order to effect a system-wide install.)  These directories include
the ***base*** (!) package, and if I am not mistaken consist of all
of the ``basic'' packages.

Likewise a number of files in /usr/local/lib/R/bin were accessible
only to root --- this includes the fundamental (!) R.bin.

I managed to do a global reset of the permissions fairly easily, but
I'm wondering --- is there a wee glitch in the installation procedure
for R-1.7.0, or did I muck something up, or is there a glitch in our
operating system?  It seems funny that if there is a problem at my
end it only, selectively, hit these ``basic'' packages.

Has anyone else experienced permission problems like unto these?

System details:

===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
 > version
         _                   
platform sparc-sun-solaris2.9
arch     sparc               
os       solaris2.9          
system   sparc, solaris2.9   
status                       
major    1                   
minor    7.0                 
year     2003                
month    04                  
day      16                  
language R
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===

				cheers,

					Rolf Turner
					rolf at math.unb.ca



More information about the R-help mailing list