%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/samba/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/samba/__pycache__/xattr.cpython-312.pyc

�

�I�d���4�ddlmZddlZddlZddlZd�Zd�Zy)�)�xattrNc���tjdfD]D}	tjj	||�}tjj|||��Fy#t$rY�SwxYw)z8Copy ACL related attributes from a path to another path.zsystem.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�	copyattrsrsn���,�,�.G�H�	�	�	��*�*�8�8��9B�D�I����,�,�V�-6�-6�
8�	���	��	�s�AA�	A'�&A'c�D�tj|�}tj|�|D]�}tjj	||�}tjj	||�}tjj|�r,tj|�}tj||���tjj|�r
t||���tj||���tj||�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       rrr'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.dcerpcrr�samba.xattr_nativerrrr�r&r�<module>r*s��$�	��
��r&

Zerion Mini Shell 1.0