jori.mantysalo at uta.fi
2006-Jul-01 17:49 UTC
[Rd] Installation, permissions of /usr/local/lib/R (PR#9054)
Full_Name: Jori M?ntysalo Version: 2.3.1 OS: Linux, GNU/Debian stable Submission from: (NULL) (81.197.171.182) I said ./configure --with-readline=no --with-x=no make make install and everything works except that /usr/local/lib/R/etc/ldpaths was not readable as normal user.
Thibaut Jombart
2006-Jul-02 08:53 UTC
[Rd] Installation, permissions of /usr/local/lib/R (PR#9054)
jori.mantysalo at uta.fi wrote:>Full_Name: Jori M?ntysalo >Version: 2.3.1 >OS: Linux, GNU/Debian stable >Submission from: (NULL) (81.197.171.182) > > >I said >./configure --with-readline=no --with-x=no >make >make install > >and everything works except that /usr/local/lib/R/etc/ldpaths was not readable >as normal user. > >______________________________________________ >R-devel at r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-devel > > > > >You don't say if you installed R as root or as a normal user. Did you try: chown your-user-name /usr/local/lib/R/ -R ? Or, if you intend to make R available to several users, create a R users group and then type the previous command replacing "your-user-name" by "R-users-group-name". Maybe this would help. Thibaut. -- ###################################### Thibaut JOMBART CNRS UMR 5558 - Laboratoire de Biom?trie et Biologie Evolutive Universite Lyon 1 43 bd du 11 novembre 1918 69622 Villeurbanne Cedex T?l. : 04.72.43.29.35 Fax : 04.72.43.13.88 jombart at biomserv.univ-lyon1.fr http://biomserv.univ-lyon1.fr/sitelabo/pageperso.php?id_personne=178
p.dalgaard at biostat.ku.dk
2006-Jul-02 09:13 UTC
[Rd] Installation, permissions of /usr/local/lib/R (PR#9054)
Thibaut Jombart <jombart at biomserv.univ-lyon1.fr> writes:> jori.mantysalo at uta.fi wrote: > > >I said > >./configure --with-readline=no --with-x=no > >make > >make install > > > >and everything works except that /usr/local/lib/R/etc/ldpaths was not readable > >as normal user.> You don't say if you installed R as root or as a normal user. > Did you try: > chown your-user-name /usr/local/lib/R/ -R > ? > > Or, if you intend to make R available to several users, create a R users > group and then type the previous command replacing "your-user-name" by > "R-users-group-name". Maybe this would help.More likely, the umask setting was too restrictive during make install. AFAIR, "umask 022" (i.e. no write permission for anyone except user, but read and execute allowed) is needed to enable non-root users to run R. Some systems set it differently, and we're not overriding that since it could be a policy issue. It's not a bug. -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Jori.Mantysalo at uta.fi
2006-Jul-03 09:55 UTC
[Rd] Installation, permissions of /usr/local/lib/R (PR#9054)
On Sun, 2 Jul 2006, Peter Dalgaard wrote:>>> make install >>> >>> and everything works except that /usr/local/lib/R/etc/ldpaths was not readable >>> as normal user.> More likely, the umask setting was too restrictive during make > install. AFAIR, "umask 022" (i.e. no write permission for anyone > except user, but read and execute allowed) is needed to enable > non-root users to run R. Some systems set it differently, and we're > not overriding that since it could be a policy issue. It's not a bug.Yep, umask was 077. Maybe 'make install' might warn about that after installation? -- Jori M?ntysalo