Write attribute denies Delete
I have a file with a read only attribute. When trying to delete that file from a network share, I am getting an error that the file may be in use. In narrowing this down, I found the issue. The NETWORK system ID has been denied WRITE ATTRIBUTE access. If I take that away, I can delete. My question, is this correct? What attribute does the delete need to write that would deny this?This is a much simplified version of my issue, but answering this question will solve the whole issue. Thank you
July 6th, 2009 7:03pm

Hi, Based on my test, deny WRITE ATTRIBUTE will not cause unable to delete. Could you please let us know how did you narrow down the cause to "NETWORK system ID has been denied WRITE ATTRIBUTE access". Thanks. This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2009 12:50pm

hi there, Mervyn is correct, Write attribute is not related with deleting the file , it might happen that there might be a file lock which is not prventing user to close the file and then delete the file. a file should be closed first and then deleted , if its in open condition you will not be able to delete. For more analysis you can had a netmon capture / ethereal capture and filter for SMB traffic and you could see for the opslock behavior. In your case ( just a guess ) there might be a exclusive or level2 oplock. sainath !analyze
July 8th, 2009 3:55pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics