How to change file permissions on Azure Web App

Developer TeleCareIt 20 Reputation points
2024-05-14T16:10:13.44+00:00

Hello, I'm having trouble changing the file permissions of my Azure Web App. When I try to use SFTP, I receive a 500 error, and using SSH has not been successful. Can someone provide guidance on how to change file permissions on an Azure Web App?

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

Accepted answer
  1. Grmacjon-MSFT 16,786 Reputation points
    2024-05-20T08:25:35.0133333+00:00

    Hello @Developer TeleCareIt Changing file permissions on Azure Web Apps directly through SFTP or SSH isn't supported, however, Azure Web Apps have a built-in management plane called Kudu. It provides a web interface for basic site management tasks, including changing file permissions. The URL for Kudu follows the format https://<your-app-name>.scm.azurewebsites.net. Replace <your-app-name> with your actual web app name. You'll need your deployment credentials (username and password) to access Kudu. These can be retrieved from the Azure portal for your web app.

    • To Change File Permissions:
      • Once logged in to Kudu, navigate to the "Files" blade.
      • Locate the file or folder where you want to modify permissions.
      • Right-click on the file/folder and select "Permissions".
      • A dialog box will appear where you can adjust user/group permissions using checkboxes.

    Hope that helps.

    Best,

    Grace

    0 comments No comments

0 additional answers

Sort by: Most helpful