📁
SKYSHELL MANAGER
PHP v8.1.34
Create
Create
Path:
root
/
home
/
terracebizon
/
public_html
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
config.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
13569.66 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: wpos_user_dirs_hook.py
# 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 from __future__ import absolute_import, print_function import os from clcommon.clpwd import ClPwd from clcommon.public_hooks.lib import ModifyUserHook class WposUserDirsHook(ModifyUserHook): """ Update user's directories after user creation """ def post_create_user(self, username, owner, **kwargs): # Create /var/clwpos/uids/${uid} directory 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}")
Save