What you can do is change permissions on a local instance of the application and then deploy it with Web Deploy. When you do that, Web Deploy will use the SetAcl operation to change permissions.
SetACL – Automate Permissions and Manage ACLs...
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------
Folder permissions cannot be set/customized. This means whatever location your app writes to should be under your site root.