I am writing some Excel files on a file server at:
\\doc\Home\RC\file.xlsx
using write_xlsx
write_xlsx(data, \\doc\Home\RC\file.xlsx))
The issue is that some people forget to close the files at end of the day so when I try to update these files daily, R scripts fails to overwrite the files because some one has already opened it.
Is it possible to make these files read only for all other users?
So that they can only read, open, copy it. But that does not interfere with me overwriting them?
But not write on it.