Issue
When I use Sys.chmod(file,'777')
it looks like the permission is changed only for the owner and not for all users, how can I do this ?
id='dv3'>
Solution
Disable the umask check in Sys.chmod
to get what you want:
Sys.chmod(file, "777", use_umask = FALSE)
Alternatively use system
directly:
system('chmod 777 file')
Answered By - eddi Answer Checked By - Dawn Plyler (WPSolving Volunteer)