[Project_owners] File Removal / Permissions errors

Nickolay Ponomarev asqueella at gmail.com
Fri Apr 21 21:29:05 EDT 2006

On 4/20/06, Brian King <brian at mozdev.org> wrote:
> It throws this exception:
> [Exception... "Component returned failure code: 0x80520015
> (NS_ERROR_FILE_ACCESS_DENIED) [nsILocalFile.remove]"
> My first thought is that the application has a lock on it, but I can
> delete it manually.
> So it looks like a file permission error. Any ideas?
Have you checked the permissions? Have you tried separating the
fileObj.remove call into a separate function and calling it when
you're sure the app doesn't have the lock? Have you tried tracking the
issue down in a debug build?


More information about the Project_owners mailing list