STATUS_FILE_RENAMED

When I rename a file on a local disk and then query for attributes, the
query works fine,

However, when the file is on a network share for the same operation I
get the STATUS_FILE_RENAMED.

How is one to query the attributes (or other info on a renamed file) in
this situation?

Does this restriction ever get lifted?

Is there any way around it?

Thanks,

Ken

You have to reopen the file with its new name (which of course means that you have to make sure that it hasn’t been re-renamed in the interim). You will, by the way, get back a file object with a different FsContext.

Just another of the charming little behavioral quriks of RDR.

Oh yes, and don’t expect any RDR behavior to be the same in Vista (assuming you are XP) or XP (if you are on W2K).

[The perceptive may notice that RDR isn’t my favorite subsystem within Windows at the moment]

Rod Widdowson

Steading System Software

wrote in message news:xxxxx@ntfsd…
When I rename a file on a local disk and then query for attributes, the query works fine,

However, when the file is on a network share for the same operation I get the STATUS_FILE_RENAMED.

How is one to query the attributes (or other info on a renamed file) in this situation?

Does this restriction ever get lifted?

Is there any way around it?

Thanks,

Ken

That worked to reopen the file, however when I query the file for the
security descriptor I get access denied. The file in question is on a
NTFS drive so I know its there. When I query locally I have no problem.

Any idea how to get around this when using the redirector?

Thanks,

Ken


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rod Widdowson
Sent: Thursday, February 15, 2007 6:18 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] STATUS_FILE_RENAMED

You have to reopen the file with its new name (which of course means
that you have to make sure that it hasn’t been re-renamed in the
interim). You will, by the way, get back a file object with a different
FsContext.

Just another of the charming little behavioral quriks of RDR.

Oh yes, and don’t expect any RDR behavior to be the same in Vista
(assuming you are XP) or XP (if you are on W2K).

[The perceptive may notice that RDR isn’t my favorite subsystem within
Windows at the moment]

Rod Widdowson

Steading System Software

wrote in message news:xxxxx@ntfsd…

When I rename a file on a local disk and then query for
attributes, the query works fine,

However, when the file is on a network share for the same
operation I get the STATUS_FILE_RENAMED.

How is one to query the attributes (or other info on a renamed
file) in this situation?

Does this restriction ever get lifted?

Is there any way around it?

Thanks,

Ken


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

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com