Error STATUS_CANNOT_DELETE and FAT

I have ordered the IFS kit, so I’ll be able to look at
the sources for FAT in a few days.

But, in the mean time, anyone know under what
circumstances FAT will refuse to delete a file with a
return code of STATUS_CANNOT_DELETE (0xC0000121)? The
file is successfully opened but the
IRP_MJ_SET_INFORMATION that follows is what fails.
I’m pretty sure that the file is not referenced by
anyone else.

In user-land I get “Access denied”. If I let the
machine sit for a while, things apparently get
straightened out and the system will delete the file.

Thanks,

Randy Cook
Lucid Systems Inc.


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

  • deleting a root directory
  • deleting a read-only file
  • deleting a file which was mmaped by the user app

Max

----- Original Message -----
From: “Randy Cook”
To: “File Systems Developers”
Sent: Friday, January 17, 2003 10:15 PM
Subject: [ntfsd] Error STATUS_CANNOT_DELETE and FAT

> I have ordered the IFS kit, so I’ll be able to look at
> the sources for FAT in a few days.
>
> But, in the mean time, anyone know under what
> circumstances FAT will refuse to delete a file with a
> return code of STATUS_CANNOT_DELETE (0xC0000121)? The
> file is successfully opened but the
> IRP_MJ_SET_INFORMATION that follows is what fails.
> I’m pretty sure that the file is not referenced by
> anyone else.
>
> In user-land I get “Access denied”. If I let the
> machine sit for a while, things apparently get
> straightened out and the system will delete the file.
>
> Thanks,
>
> Randy Cook
> Lucid Systems Inc.
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>