I'd like to set the file permissions for a copied file using a rake task.
Is this possible?
You can use File class: File