From Kurt.Hornik at wu-wien.ac.at  Wed Nov 26 19:15:49 2003
From: Kurt.Hornik at wu-wien.ac.at (Kurt Hornik)
Date: Wed Nov 26 19:17:50 2003
Subject: [Rd] R-1.8.0 package directory permissions?
In-Reply-To: <3FC20895.6050005@lancs.ac.uk>
References: <3FC20895.6050005@lancs.ac.uk>
Message-ID: <16324.60885.890860.819806@mithrandir.hornik.net>

>>>>> Pingping Zheng writes:

> Hello,

> I maintain a self-made R package under my own home directory
> "~/.R/library" on our university computer net (SunOS 5.8 system).
> After updating R to 1.8.0, I found other people cannot access my
> package any more. They got this error message:

> Error in library(tb, lib.loc = "/home/fs.hpc/43/zhengp1/.R/library") : 

> This is not a valid package -- no DESCRIPTION exists

> I set my home directory permissions as "drwx--x--x", the R packages
> directories, from "/home/fs.hpc/43/zhengp1/.R" and its subdirectories
> as "drwxr-xr-x". It worked well before.

> However, when I change my home directory permissions to
> "drwxr-xr-x", giving "read" and  "execute" permissions
> to everyone, no error message appeared any more.

> Is that a bug in new version of R-1.8.0?

What you get comes seems to come from file.exists() saying that the
candidate DESCRIPTION file does not exist.  I cannot reproduce this
problem on Linux.  I don't see how the 711 setting could affect
file.exists() for the owner of the files, though.

-k


[Rd] R-1.8.0 package directory permissions?
Kurt Hornik