﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
226	Copying directory tree with EAs attached to directories only copies EAs to first level	Lewis Rosenthal		"NetDrive 3.1.4 connecting to Thecus N2200EVO (XFS filesystem; ea support enabled in smb.conf). Plugin is 2.1.4 build GA-20130827.

Copying a directory tree with EAs attached to directories (e.g., C:\Desktop) results (from CMD.EXE and 4OS2.EXE) in only the '''first''' level directory receiving EAs.

Example:

H: is mapped to Samba share.

{{{
[C:\]xcopy c:\Desktop h:\Desktop /s/e/h/r/t

Source files are being read...

The extended attributes for the file or directory were
discarded because the target file system does not support them.

The extended attributes for the file or directory were
discarded because the target file system does not support them.

The extended attributes for the file or directory were
discarded because the target file system does not support them.

The extended attributes for the file or directory were
discarded because the target file system does not support them.

The extended attributes for the file or directory were
discarded because the target file system does not support them.

The extended attributes for the file or directory were
discarded because the target file system does not support them.

The extended attributes for the file or directory were
discarded because the target file system does not support them.

C:\Desktop\Internet\Dial-up Tools\Internet Assistant for eComStation\Internet\Te
am OS!2 Deutschland e.V.^(Germany)^homepage
C:\Desktop\Internet\InJoy Firewall\Information\F!X Communication
C:\Desktop\Internet\InJoy Firewall\Information\Online Documentation
(etc.)
}}}

after which:

{{{
[C:\]dir h:

The volume label in drive H is NETDRIVE.
Directory of H:\

 8-27-13  7:18p         <DIR> 19,211 ----  Desktop
        1 file(s)           0 bytes used
                   35,370,565 K bytes free

[C:\]dir h:\Desktop\Internet

The volume label in drive H is NETDRIVE.
Directory of H:\Desktop\Internet

 8-27-13  7:07p         <DIR>      0 ----  .
 8-27-13  7:07p         <DIR>      0 ----  ..
 8-27-13  7:29p         <DIR>      0 ----  Arora Web Browser
 8-27-13  7:29p         <DIR>      0 ----  Dial-up Tools
 8-27-13  7:29p         <DIR>      0 ----  EmTec Network Suite
 8-27-13  7:29p         <DIR>      0 ----  Firefox
 8-27-13  7:29p         <DIR>      0 ----  FtpServer
 8-27-13  7:29p         <DIR>      0 ----  Help
 8-27-13  7:29p         <DIR>      0 ----  InJoy Firewall
 8-27-13  7:29p         <DIR>      0 ----  Internet Utilities
 8-27-13  7:29p         <DIR>      0 ----  QBittorrent
 8-27-13  7:29p         <DIR>      0 ----  QupZilla Web Browser
 8-27-13  7:29p         <DIR>      0 ----  SeaMonkey
 8-27-13  7:29p         <DIR>      0 ----  Web Sites
       14 file(s)           0 bytes used
                   35,369,517 K bytes free
}}}

Interestingly, files, no matter how deep, retain their EAs, and a second xcopy (or copy) pass will get the balance of the directory EAs copied. Note the same example as above, but after a repeat of the first command:

{{{
[C:\]dir h:\Desktop\Internet

The volume label in drive H is NETDRIVE.
Directory of H:\Desktop\Internet

 8-27-13  7:07p         <DIR>      0 ----  .
 8-27-13  7:07p         <DIR>      0 ----  ..
 8-27-13  7:29p         <DIR>    676 ----  Arora Web Browser
 8-27-13  7:29p         <DIR> 18,725 ----  Dial-up Tools
 8-27-13  7:29p         <DIR>    686 ----  EmTec Network Suite
 8-27-13  7:29p         <DIR>    726 ----  Firefox
 8-27-13  7:29p         <DIR>    460 ----  FtpServer
 8-27-13  7:29p         <DIR> 18,701 ----  Help
 8-27-13  7:29p         <DIR> 11,187 ----  InJoy Firewall
 8-27-13  7:29p         <DIR> 18,728 ----  Internet Utilities
 8-27-13  7:29p         <DIR>    637 ----  QBittorrent
 8-27-13  7:29p         <DIR>    713 ----  QupZilla Web Browser
 8-27-13  7:29p         <DIR>    905 ----  SeaMonkey
 8-27-13  7:29p         <DIR> 18,786 ----  Web Sites
       14 file(s)           0 bytes used
                   35,370,565 K bytes free
}}}

"	defect	closed	Feedback Pending	Netdrive plugin 2.2.x	Samba Client Plugin	Client 2.1.x	fixed	extended attributes,copy,EA,directory,tree	
