ACCESS_DENIED for Rename only

Folks,

I am seeing a strange behaviour and am trying to understand what am I doing
wrong.

I have two machines Master and Slave. I trap certain Create, Write, Delete
and Rename IOs happeing on Source and send it to Slave. The folders on which
Slave acts have same set of security as that of Master.

The mystery is - it allows me to perform all the operations except for
Rename on Slave… comes back with ACCESS_DENIED error…? How come it
succeeds in creating, deleting or writing to files but fails for rename. I
tried rolling my own IRP as well as ZwSetInformation function…but no luck.

On slave I basically have a thread spawned off by, my file filter which
waits on instructions to arrive from Source.

Any ideas…

Best Regards
Vikas

Well I added the Local System ACL to the folders/files being created on
slave and seems like rename is working.

Regards
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Vikas Ratna
Sent: Friday, March 05, 2004 2:51 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] ACCESS_DENIED for Rename only

Folks,

I am seeing a strange behaviour and am trying to understand what am I
doing wrong.

I have two machines Master and Slave. I trap certain Create, Write, Delete
and Rename IOs happeing on Source and send it to Slave. The folders on which
Slave acts have same set of security as that of Master.

The mystery is - it allows me to perform all the operations except for
Rename on Slave… comes back with ACCESS_DENIED error…? How come it
succeeds in creating, deleting or writing to files but fails for rename. I
tried rolling my own IRP as well as ZwSetInformation function…but no luck.

On slave I basically have a thread spawned off by, my file filter which
waits on instructions to arrive from Source.

Any ideas…

Best Regards
Vikas

Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@agglut.com
To unsubscribe send a blank email to xxxxx@lists.osr.com