• Try this, open powershell,

    cd databasefilelocation

    $Acl = Get-Acl "workingdatafile.mdf"

    Set-Acl "nonworkingdatafile.mdf" $Acl