[Rd] File permissions test during R CMD check

Kurt Hornik Kurt.Hornik@wu-wien.ac.at
Thu, 14 Mar 2002 17:09:46 +0100


>>>>> "David Kane writes:

> I think that I understand why R CMD check should warn if the
> permissions on a file are too restrictive, but I don't understand why
> it should warn if they are "too" loose. On UNIX, why is a file with
> 644 OK, but one with 664 (just adding group writability) problematic
> enough to require a warning?

I think we want the *installed* files to be 644 and dirs to be 755 (by
default).  Can we be sure that all routes to installing a package (as
source or binary) lead to this even if permissions originally were too
loose?  I don't, hence I prefer being on the defensive side.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._