͓M d Z ddlZddlmZ dZdZdZdZd Zd
Z de
de
d
efdZde
de
d
dfdZ
de
de
d
dfdZde
d
ee
fdZdS )a
Admin-level configuration for website isolation.
Stores path constants for global feature flags and per-user mode
directories, and provides helpers that implement the CageFS-style
per-user directory layout:
//
where *prefix* is ``uid % 100`` zero-padded to two digits and each user
entry is an empty marker file.
Directory permissions: ``0o751`` (``drwxr-x--x``).
File permissions: ``0o644`` (``-rw-r--r--``).
N )get_user_prefixz/opt/cloudlinux/flags/available-flags.d/website-isolation.flagz'/etc/cagefs/site-isolation.users.deniedz(/etc/cagefs/site-isolation.users.allowedi i dirpathusernamereturnc t | }t j t j | || S )z