-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Related command
az functionapp deployment
Is your feature request related to a problem? Please describe.
When deploying a function app, we expect to have specific permissions for some files. Customers are facing inconsistences when using [func azure functionapp publish](https://learn.microsoft.com/en-us/azure/azure-functions/functions-core-tools-reference?tabs=v2#func-azure-functionapp-publish), which is the core tools command which zips up the function app and deploys it, versus using az functionapp deployment.
These are the checks that we perform on the core-tools side (give all files "666" r/w permissions unless it's a custom handler and we know the exe path then we give it a "777" r/w/x permission's).
Describe the solution you'd like
az functionapp deployment should ideally have some checks initially to ensure that the function app is in the format that we expect it to be in and that the files have to correct permissions to avoid confusion if a customer chooses to use az functionapp deployment vs func azure functionap publish.
Additional context