Shared folder permissions confused

Anne 276 Reputation points

I am using windows server 2019. I understand for shared folders I need to add a user into both shared folder permission and also ntfs folder permission .

Recently I got access denied from a SQL job to write a file into a shared folder since it is a new server, the admin forgot to add some users permission to that folder.

The shared folder for example called \myserver\mydatafolder\

The job is running using account mydomain\jobuser

So since I am one of admins of the server. and I tried to open \myserver\mydatafolder\ from my workstation, then I simply click security tab and add the mydomain\jobuser into that folder, then rerun the job, this time the job succeeded, no longer have access issue.

My question is I thought i need to add both NTFS permission and shared permission, but I only did one of them as above, which I think it is ntfs permission, I did not do even the shared folder permission, why I no longer have access denied issue.

I checked the shared folder security on the server, it is administrator only.

Any ideas?


Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,049 questions
0 comments No comments
{count} votes

Accepted answer
  1. Fan Fan 15,286 Reputation points Microsoft Vendor


    If you create a folder , authenticated users group have the read and execute NTFS permission inherited from the root by default.

    If you share the folder by advanced sharing option ,everyone have the read permission by default.

    If possible, would you please share a screenshot of the NTFS permission assignment and the SHARE permission assignment.(please hide the private information)
    Did the user belong to any groups and the groups have the read permission on the share folder?
    The user access the folder by \servername\shared folder, right?

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Anne 276 Reputation points

    Thank you.
    I don't see authenticated user or everyone in the share permission, only administrators.
    But the account I use is not an admin.

    when I add this account to the group from my desktop using \serverrname\myfolder, I think it is adding only ntfs permission, but after that it worked.

    So i am still confused I didnot add the account to share permission, but it still owrks.