From maechler at stat.math.ethz.ch  Mon Jun 10 11:44:57 2013
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Mon, 10 Jun 2013 11:44:57 +0200
Subject: [Rd] R CMD INSTALL and file permission settings
In-Reply-To: <20915.23136.75704.347469@max.nulle.part>
References: <20915.23136.75704.347469@max.nulle.part>
Message-ID: <20917.40985.705751.95999@stat.math.ethz.ch>

>>>>> Dirk Eddelbuettel <edd at debian.org>
>>>>>     on Sat, 8 Jun 2013 11:22:56 -0500 writes:

    > Summary:   

    > The directory /usr/local/lib/R/site-library can be used for site-wide
    > multi-user installations of R.  

    > This is even the default on Debian and Ubuntu (following a suggestion by
    > Kurt and Fritz a decade ago over beers -- what could be better).  However,
    > R enforces wrong permissions on directories and files there (removing
    > group-write) which effectively defeats this purpose, and breaks multiuser
    > installation:  if Tom, Dick and Harry are members of group 'r-users', each
    > one can install in the directory, but neither can _upgrade_ a package
    > installed by one of the others.  

    > I would like to correct this.


    > Details:   

[..........]


    > Proposal:

    > Add a new option() [with a to-be-determined name] which, if enabled, turns
    > on group-write modes for files and directories, ie "664" and "775".  

[.........]

    > I would be happy to write such a patch (including documentation updates) if
    > someone from R Core can signal willigness to look at it.

"signal!"
:-)

Regards, 
Martin



[Rd] R CMD INSTALL and file permission settings
Martin Maechler