Ë
    þI¶dÍ  ã                   ó4   — d dl mZ d dlZd dlZd dlZd„ Zd„ Zy)é    )ÚxattrNc                 óÔ   — t         j                  dfD ]D  }	 t        j                  j	                  | |«      }t        j                  j                  |||«       ŒF y# t        $ r Y ŒSw xY w)z8Copy ACL related attributes from a path to another path.zsystem.posix_acl_accessN)r   ÚXATTR_NTACL_NAMEÚsambaÚxattr_nativeÚwrap_getxattrÚwrap_setxattrÚ	Exception)ÚfrompathÚtopathÚ	attr_nameÚ	attributes       ú-/usr/lib/python3/dist-packages/samba/xattr.pyÚ	copyattrsr      sn   € ä×,Ñ,Ð.GÐHò 	ˆ	ð	Ü×*Ñ*×8Ñ8¸Ø9BóDˆIä×Ñ×,Ñ,¨VØ-6Ø-6õ8ñ	øô ò 	Ùð	ús   —AAÁ	A'Á&A'c                 óD  — t        j                  | «      }t        j                  |«       |D ]Ï  }t         j                  j	                  | |«      }t         j                  j	                  ||«      }t         j                  j                  |«      r,t        j                  |«      }t        j                  ||«       ŒŽt         j                  j                  |«      rt        ||«       Œºt        j                  ||«       ŒÑ t        j                  | |«       t        | |«       y)zÌRecursively copy a directory tree using shutil.copy2(), preserving xattrs.

    The destination directory must not already exist.
    If exception(s) occur, an Error is raised with a list of reasons.
    N)ÚosÚlistdirÚmakedirsÚpathÚjoinÚislinkÚreadlinkÚsymlinkÚisdirÚcopytree_with_xattrsÚshutilÚcopy2Úcopystatr   )ÚsrcÚdstÚnamesÚnameÚsrcnameÚdstnameÚlinktos          r   r   r   '   sÄ   € ô �J‰J�s‹O€Eä‡K�K�ÔØò 
+ˆÜ—'‘'—,‘,˜s DÓ)ˆÜ—'‘'—,‘,˜s DÓ)ˆÜ�7‰7�>‰>˜'Ô"Ü—[‘[ Ó)ˆFÜ�J‰J�v˜wÕ'Ü�W‰W�]‰]˜7Ô#Ü  ¨'Õ2ô �L‰L˜ 'Õ*ð
+ô ‡O�O�C˜ÔÜˆc�3Õó    )Úsamba.dcerpcr   r   Úsamba.xattr_nativer   r   r   r   © r&   r   ú<module>r*      s   ðõ$ Û 	Û Û òór&   