Change permissions of files