Some Scenarios needs clarification

Rajendra Gutupalli Rajendra.Gutupalli at Sun.COM
Thu Jun 12 01:16:11 PDT 2008


Alan Bateman wrote:
> 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!

Thanks Alan, I just tried to see whether it works any named attributes 
for a file set in one operating system can be read in other operating 
system with following combinations
 >Accessing Solaris ufs directory in Linux using sshfs
 >accessing Solaris and Linux directories in Windows using Samba
 >accessing Windows network share drive in linux using smbfs
In all the above combinations I was not able to read named attributes 
may be limitation of specific file system.

Alan, I have one more query. I am not able to get AclFileAttributeView 
in Linux. My linux machine Ubuntu 8.04 supports Acls. Can you please 
tell me how can we access Acl's in Linux.

Thanks
Rajendra.

>
> -Alan.




More information about the nio-dev mailing list