Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Error: 17204 (FCB::Open failed) - How to set persmission correctly on a data/log file for SQL Server

$
0
0

Hello,

Is there a process/procedure available in SQL Server which allows SQL Permission to be set properly for a given instance when a new drive is added? It seems like only way, that I know of, is to copy ACLs from existing data drive to this new drive to make this work, otherwise we get the following error:

FCB::Open failed: Could not open file J:\sql\mnt\UsrDB01\Data\XX.mdf for file number 1. OS error: 5(Access is denied.).

For a clustered drive adding it SQL Server service and applications does not seem to work either. Again I have to copy ACLs to make it work.

I did search through Google/Bing, but could not find any meaningful resources (other than copy ACLs, add SQL Server account to the directory manually, etc.). One would hope a set defined process set permission (similar to the process when SQL Server sets permission these drives (folder) while installing it).

Thanks,

Vijay


Viewing all articles
Browse latest Browse all 15694


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>