I have a database file .mdf from MS SQL EXPRESS in folder:
.mdf
C:\\Program Files\\Microsoft SQL Server\\MSSQL10.SQLEXPRESS\\MSSQL\\DATA
No need to do all this. Just right click on database files and add permission to everyone. That will work for sure.