Question : Unable to copy detached files - even with "full control" permissions on remote server

SQL Server 2005 - running SQL Server Management Studio for a remote machine. Able to detach databases, but even with "Full Control" permission on the shared folder containing the DBs CANNOT copy the files to anther machine. Get "access denied, may be in use". Can copy other files into and from the folder, but not the MDF or LDF files from that folder. This suggests either a subtle permissions issue or file locking by some other aspect of SQL Server...

Answer : Unable to copy detached files - even with "full control" permissions on remote server

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.
Random Solutions  
 
programming4us programming4us