Actually, SQL Server 2005 handles permissions differently than SQL 2000 when detaching dbs. Under SQL 2005, the file owner *changes* when the db is detached. This was not the case under SQL 2000.
[Then, when the file is (re)attached, the file reverts back to the original owner/permissions.]
Frankly I think that's an annoying new "security feature" of 2005. But MS's been so vilified for their poor security that I think they are over-reacting now sometimes.