About App Service Content Permissions

Noriko 251 Reputation points

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.
6,836 questions
0 comments No comments
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 18,206 Reputation points

    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