Hi,

When building a source package on Linux with 'R CMD build',
the files in the resulting tarball don't have the original
permissions.
The problem is that the packages I want to build include an SQLite
data base (an .sqlite file) and, before I run 'R CMD build', I've
made this file read-only (chmod 444) because I want this DB to be
read-only. Then if I install by running 'R CMD INSTALL' directly on
the source directory, everything works as expected (the permissions
of the installed .sqlite file are conserved). But if I run 'R CMD build'
in order to produce the tarballs (I need to distribute those packages),
then, when the user will install them, the SQLite DBs will not be
read-only anymore.

Is there a way to prevent 'R CMD build' from changing the permissions
of the source files?
Thanks in advance!

Cheers,
H

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to