관리-도구
편집 파일: isp.cpython-311.opt-1.pyc
� ΈQg� � �\ � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlm Z d d�Z d� Zd d�ZdS )� N)� clcaptain)�ExternalProgramFailedFc � � t j � � t j � � rt j � d� � sd S |�t j | � � }|j }|j }t j � � }||k rd}nd }d }d}t j � |j d� � }t ||||||� � d} t j � | | z d� � }t ||||||� � d S )N�4TFzphp-bin/phpz/var/www/php-bin/%s�php)�detect�getCP� is_ispmanager� CP_VERSION� startswith�pwd�getpwnam�pw_uid�pw_gid�os�geteuid�path�join�pw_dir� write_wrapper) �username�user_php_ver� user_data�is_write_log�uid�gid�process_uid� drop_perm�user_wrapper_file� PATH_MASKs ��/builddir/build/BUILDROOT/cagefs-7.6.22-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcagefslib/selector/panel/isp.py�ispmanager_create_user_wrapperr"