Robust methods for setting file/folder permissions across multiple OS.
set_permissions(path, is_folder = FALSE, verbose = TRUE)
Path to file/folder.
Whether path
is a folder.
If so, permissions will be set recursively for all files/subfolders.
Print messages.
Null
tmp <- tempfile()
set_permissions(path = tmp)
#> Setting permissions for file.