I\'m trying to automate pushing a file into my users\' home directories, but am stuck on a \"Permission Denied\" error — is thrown on line 6 here, with the CopyFile call.
for me adding / worked at the end of location of folder. Hence, if you are copying into folder, don't forget to put /
/