wrap full testWritePermissions test in ifndef, return errors if the move command fails
wrap full testWritePermissions test in ifndef, return errors if the move command fails

JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio