First noticed this issue when updating our Citrix Xenapp server environment with a new snapshot, it would always leave a temporary folder with the VMDK file in it. Noticing this, I went into the SAN and browsed the storage, opened the folder and tried to manually delete the temporary VMDK file. This results in the following: Cannot delete file "Filename.vmdk" popup notification box. Looking at the Task Console, I see this: Deletion of file or directory "Filename.vmdk" from "Datastore" was initiated from 'web-client/6.5.0@127.0.0.1' and completed with status 'Failure'.
Not sure why this is happening but it hasn't always been the case. Odd thing is, I can delete a new folder on the same datastore, then move the VMDK file to the new folder, and then delete it from there. It almost seems like a permissions issue, but we haven't changed any permissions and from what I see, the Citrix service and the user account I'm using both have the Administrator role.