I (still) use RCS, and not CVS, for my own projects. R CMD check does not like the 0444 file permissions on files check into RCS. I conjecture that this stems from desire to have the installed files in a state in which they can be edited, but I might be off base ... In case my conjecture holds, would it be possible to relax the restriction during R CMD check, but then install the files as 0644 ? Other than that, R CMD check is a very impressive tool. Dirk -- Good judgement comes from experience; experience comes from bad judgement. -- Fred Brooks -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> Dirk Eddelbuettel writes:> I (still) use RCS, and not CVS, for my own projects. R CMD check does > not like the 0444 file permissions on files check into RCS.> I conjecture that this stems from desire to have the installed files > in a state in which they can be edited, but I might be off base ... In > case my conjecture holds, would it be possible to relax the > restriction during R CMD check, but then install the files as 0644 ?Not as long as R CMD build takes what is in the source dirs. There are some comments about possible improvements to permission tests in the code of check, but in any case all files that are to be installed should be at least 644. We could relax that for e.g. C source or headers, but not e.g. for DESCRIPTION. -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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "Dirk" == Dirk Eddelbuettel <edd@debian.org> writes:Dirk> I (still) use RCS, and not CVS, for my own projects. R Dirk> CMD check does not like the 0444 file permissions on Dirk> files check into RCS. Dirk> I conjecture that this stems from desire to have the Dirk> installed files in a state in which they can be Dirk> edited, but I might be off base ... In case my Dirk> conjecture holds, would it be possible to relax the Dirk> restriction during R CMD check, but then install the Dirk> files as 0644 ? Dirk, I've had the exaxt same situation months ago (since then R-devel was "1.4.0 to be") and reacted the same way as you, just to R-core instead of R-devel back then .... My solution was to manually "rcs -U" all the relevant files, and from then on, rcs kept them rw-r--r-- (aka 644) as desired. I haven't seen a reason why I should use RCS locks when I'm the only one accessing these files. Dirk> Other than that, R CMD check is a very impressive Dirk> tool. (yes, and because of that and later submission to CRAN I agree that "--no-perms" is not a solution to me neither). Martin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
David Kane <David Kane
2002-Mar-13 17:14 UTC
[Rd] File permissions test during R CMD check
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? Thanks, Dave Kane -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._