Right.  My umask is 0066 and my procedure was just the standard
    ./configure --prefix=/usr/local
    make
    make install
as for other software.  I noted that the permissions were fine in all 
directories except
the "lib" ones, and that's why I made the suggestion on modifying 
src/library/Makefile.in, after I had studied the other Makefile.in files.

I think R is fantastic.  Thanks very much for it, and for these emails!  
Dan.

Prof Brian Ripley wrote:

>On Mon, 16 Jun 2003, Dan E. Kelley wrote:
>
>  
>
>>Peter Dalgaard BSA wrote:
>>
>>    
>>
>>>I've rolled up R-1.7.1.tgz a short while ago. 
>>> 
>>>
>>>      
>>>
>>Thanks, Peter.  This is terrific!  I find that this R installation is 
>>only accessible to the root.  In case it helps other folks, I've 
>>attached a patch on the file
>>    src/library/Makefile.in
>>that solves the problem for me.
>>    
>>
>
>I think this is already covered by the advice in R-admin.texi:
>
>If you want the build to be usable by a group of
>users, set @code{umask} before unpacking so that the files will be
>readable by the target group (e.g., @code{umask 022} to be usable by all
>users).
>
>To ensure that the installed tree is usable by the right group of users,
>set @code{umask} appropriately (perhaps to @samp{022}) before unpacking
>the sources and throughout the build process.
>
>Did you do that?
>
>  
>
>>NOTE: I am not too sure I've done the patch right, in terms of 
>>filenames.  (I'm not familiar enough with diff and patch to do this sort 
>>of thing reliably!)  So, in words, the change is simple: find the "@cp 
>>-r" command of the "install:" target in src/library/Makefie.in and 
>>change it to "@cp -pr" so that the permissions are retained.  At least 
>>on my (linux/redhat9) box, this should work OK.
>>
>>Dan.
>>
>>
>>    
>>
>
>  
>

-- 
Dan E. Kelley, Associate Professor                phone:(902)494-1694
Oceanography Department, Dalhousie University       fax:(902)494-2885
Halifax, Nova Scotia                         mailto:Dan.Kelley@Dal.CA
Canada B3H 4J1   http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html


	[[alternate HTML version deleted]]


