PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clwpos
# -*- coding: utf-8 -*- # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2025 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT import os from clcommon.cpapi import cpusers from clcommon.clpwd import ClPwd def create_user_uid_dirs(): """ Create /var/clwpos/uids/{uid} directories for all users :return: None """ for username in cpusers(): try: uid = ClPwd().get_uid(username) os.makedirs(f"/var/clwpos/uids/{uid}", 0o755, exist_ok=True) except ClPwd.NoSuchUserException: print(f"ERROR: No such user {username}") except Exception as e: print(f"Error processing user {username}: {e}")
[-] whmcs_utils.py
[open]
[+]
..
[-] wpos_hooks.py
[open]
[+]
__pycache__
[-] wpos_admin.py
[open]
[+]
migrations
[-] daemon_subscription_handler.py
[open]
[+]
cli_versions
[-] parse.py
[open]
[-] daemon.py
[open]
[+]
hooks
[-] redis_configuration_pid_file_cleaner.py
[open]
[-] scoped_cache.py
[open]
[+]
optimization_features
[-] daemon_redis_lib.py
[open]
[-] daemon_config.py
[open]
[+]
bin
[-] data_collector_utils.py
[open]
[-] papi.py
[open]
[-] daemon_base.py
[open]
[-] billing.py
[open]
[-] cron.py
[open]
[+]
object_cache
[-] logsetup.py
[open]
[-] wp_config.py
[open]
[+]
user
[-] wp_utils.py
[open]
[-] wpos_req_scanner.py
[open]
[-] constants.py
[open]
[-] socket_utils.py
[open]
[-] utils.py
[open]
[-] stats.py
[open]
[-] __init__.py
[open]
[-] cl_wpos_exceptions.py
[open]
[+]
php
[-] report_generator.py
[open]
[-] create_user_uid_dirs.py
[open]
[+]
feature_suites