This Solved my Attached database READ ONLY problem even after permissions re-granted on database itself and root folders above it! Try This before you go bald more.
This was originally caused by clonezilla. I changed my hard drive from a SSD (OS was on it) to Massive 3 TB hard drive. I rather have slow but spacious HD. After the clone, I renamed the server ( Homer... duh) and Copy and pasted my websites onto a newer hard drive which broke all my D drive permissions by doing so. None of my D drive databases could ever be without the READ ONLY NAG!!!! This baffled me as the D drive Root directory Subfolder had ALL PERMISSIONS RE-GRANTED EXCEPT: MSSQL11$SQLEXPRESS Where did this go?
Obviously, I had a separate directory on my D:\SQLDATABASES\
drive for all of my databases both SQL and MySQL. I had gave all the permissions and then some but still no go! It turn out that I was missing the MSSQL11$SQLEXPRESS
Since I purchased at BestBuy two (3 TB harddrives) My C drive with the OS was a clone, my D drive was stupidly copied and pasted and not cloned which would of fixed this mess.
In Summation, if you have Windows Server 2012 and you tripled checked permissions but are missing MSSQL11$SQLEXPRESS ( you can't even add this in permissions ...does not exists) just cut and paste your database(s) into the default SQL path and Viola crisis averted. I knew this was a permissions issue but it was about to be solved by my sledgehammer! Please let this simple post help someone other than myself.
my default SQL Path is Below: THIS WORKED yeah baby! Paste it in Data directory
C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA