In my package {bigstatsr}, I get this error for CRAN checkings when testing on Solaris (see https://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/bigstatsr-00check.html).
I managed to reproduce this issue using rhub::check_on_solaris()
.
By default the files created were with permissions 644
because umask was set to 22
.
Then, I tried to change umask to be 0
, which worked and I got file permissions as 666
(see https://builder.r-hub.io/status/bigstatsr_1.0.0.tar.gz-a15ab823b9e44e6ca790ee9a143ebadb#L5816).
How I can get this error with file permissions while having permissions on this file at 666
?