9Mj2ddlZddlmZddlmZdZdZdS)N)cpusers)ClPwdc`tD]} t|}d|}tj|ddt ||Q#tj$rtd|Ytt$r}td|d|Yd}~d}~wwxYwdS) a Create /usr/share/alt-php-xray-tasks/{uid} directories for all users. The {uid} directory itself stays root-owned (0755) because it holds root-written task files the C extension reads. A {uid}/log/ subdirectory is created owned by the user (mode 0700) so the PHP worker, which runs as that uid, can write xray.to_file trace dumps there while no other local user can read or pre-create them. :return: None z/usr/share/alt-php-xray-tasks/iTexist_okzERROR: No such user zError processing user z: N) rrget_uidosmakedirs_create_user_log_dirNoSuchUserExceptionprint Exception)usernameuidbase_dires P/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/create_user_uid_dirs.pycreate_user_uid_dirsr sII < < <''//(++C===H K%$ 7 7 7 7 3 / / / /( 5 5 5 333 4 4 4 4 4 < < < :8::q:: ; ; ; ; ; ; ; ; < < r!s\ """""" <<<.     r