Unable to make changes to some NTFS permissions in Azure Files

Matt Tisdel 0 Reputation points
2024-07-24T14:48:45.8533333+00:00

Another engineer set Azure Files up and I have never used it before that. There is no local server for caching. Win10 machines map shares in Azure Files. They log into a Domain Controller that is an Azure VM. It has the Azure Files share mapped. That is where we make changes to "NTFS" permissions. I have a set of folders that are no allowing me to make changes to the permissions. I am logged into the server as a Domain Admin. On a traditional Windows server I can take control of a folder and force ownership and permissions to it and the folders below it. If ACLs had been corrupted on a folder or files, then doing this will replace those ACLs and life is great. In this case there are folders that I cannot get into and can't even see the Security on. If I try to take ownership from the root folder, then I just get a refusal. "Failed to enumerate objects in the container. Access is denied."

How can I change the permissions on this folder?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,226 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 13,345 Reputation points
    2024-07-24T15:03:07.17+00:00

    first, use a tool like icacls or PowerShell's Get-Acl and Set-Acl cmdlets to view and manipulate NTFS permissions directly from the Domain Controller.

    If you detect a problem with ACL permissions, you can try resetting the NTFS permissions on the affected folders

    icacls <folder_path> /reset /T
    
    
    

    also you can check the following

    https://learn.microsoft.com/en-us/answers/questions/460738/share-and-ntfs-permission-best-practice-for-azure

    0 comments No comments