About App Service Content Permissions

Noriko 251 Reputation points
2022-08-27T04:12:04.99+00:00

I uploaded content with Git push on App Service Linux, but the permissions are not inherited. Everything ends up being 777. Do you know the reason?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
0 comments No comments
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 20,856 Reputation points
    2022-08-29T16:47:40.783+00:00

    Thanks for reaching here!
    As mentioned in this article,

    For App Service on Linux and Web app for Containers, persistent storage is rooted in /home.

    When you persist storage with the WEBSITES_ENABLE_APP_SERVICE_STORAGE app setting, we mount a location in Azure Storage to the /home mount point. The permissions on this are 777.
    You cannot change these permissions, even if you attempt to do so from an initialization script or from SSH.

    Let us know if further query.


0 additional answers

Sort by: Most helpful