Some Scenarios needs clarification
Alan Bateman
Alan.Bateman at Sun.COM
Wed Jun 11 05:13:09 PDT 2008
Rajendra Gutupalli wrote:
> Hi Alan,
>
> Thanks for the clarification of the previous mail. I have explored
> some other scenarios and observed the following behavior in Windows
> and Solaris.
> The behavior mentioned at points 1and 2 in each platform needs
> attention. Could you please tell me whether behavior mentioned at
> points 1 and 2 is expected?
>
> In all the following scenarios source directory has named attributes
> associated with it.
>
> Windows:
> 1) moving an empty directory from one NTFS volume to another NTFS
> volume does not retain the named attributes.
> 2) copying a non empty directory with CopyAttributes copy option does
> not copy the named attributes.
> 3) renaming a directory does retain the named attributes.
>
> Solaris
> 1) moving an empty directory from one location to other location
> (within the same partition) retains the named attributes (In Windows
> it does not work)
> 2) copying a non empty directory to another directory with
> COPYATTRIBUTES option does not copy the named attributes.
> 3) renaming a directory does retain the named attributes.
The reason for the anomalies is that the implementation doesn't
currently copy the named attributes of directories (all platforms) or
sym links (Vista). It's on the list to do and I should have mentioned it
previously. Your attention to detail, is as always, very impressive!
-Alan.
More information about the nio-dev
mailing list