Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.11/site-packages/ansible/module_utils/common/__pycache__/ |
Upload File : |
� ���c� � � � d dl mZmZmZ eZd dlZd dlZd dlZd dl Z d dl Z d dlZd dlZd dl Z d dlZd dlZd dlZd dlmZ d dlmZmZmZ d dlmZmZ d dlmZ d dlZdZn # e$ r dZY nw xY wi d d �dd�d d�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$�d%d&�d'd(�d)d*�d+d,d-d.��Z e j d/� � Z! e j d0� � Z" e j d1� � Z#d2Z$d3Z%d4Z&d5� Z'd6� Z(d7� Z)d8� Z* G d9� d:e+� � Z, G d;� d<� � Z-dS )=� )�absolute_import�division�print_functionN)�contextmanager)�to_bytes� to_native�to_text)�b�binary_type)� deprecateTF�A�noatime�a�append�c� compressed�C�nocow�d�nodump�D�dirsync�e�extents�E� encrypted�h� blocksize�i� immutable�I�indexed�j� journalled�N�inline�s�zero�S�synchronous�t�notail�T� blockroot�undelete� compressedraw�compresseddirty)�u�X�Zz[+=-]z[^ugo]z[^rwxXstugo]i� �I i� c � � t j t j z t j z t j | � � t j z S )a> is_executable(path) is the given path executable? :arg path: The path of the file to check. Limitations: * Does not account for FSACLs. * Most times we really want to know "Can the current user execute this file". This function does not tell us that, only if any execute bit is set. )�stat�S_IXUSR�S_IXGRP�S_IXOTH�os�ST_MODE)�paths �E/usr/lib/python3.11/site-packages/ansible/module_utils/common/file.py� is_executabler? B s. � �* �\�D�L� (�4�<� 7�2�7�4�=�=���;V�V�W� c � � d� | D � � }|S )Nc �T � g | ]%}|t v �t � |� � ��&S � )�FILE_ATTRIBUTES�get)�.0�attrs r>