set perms of backup file