Skip to content

Commit 82ce48a

Browse files
author
Andrei Zheregelia
committed
TCR-645: Fix CageFS exclude list description and logic
The description how this function work was aligned with current source code logic.
1 parent c91328c commit 82ce48a

File tree

1 file changed

+7
-7
lines changed
  • docs/cloudlinuxos/cloudlinux_os_components

1 file changed

+7
-7
lines changed

docs/cloudlinuxos/cloudlinux_os_components/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,22 +1865,22 @@ ffmpeg RPM should be installed on the system already.
18651865
:::
18661866
18671867
1868-
#### Excluding files
1868+
#### Excluding Files
18691869
1870+
To exclude files and directories from CageFS, create a file with the <span class="notranslate">`.black.list`</span> extension inside the <span class="notranslate">`/etc/cagefs/`</span> directory.
1871+
List the files or directories to exclude, one per line.
18701872
1871-
To exclude files and directories from CageFS, edit file:
1872-
<span class="notranslate">`/etc/cagefs/custom.black.list`</span>
1873-
And add files or directories in there, one per line.
1874-
1875-
Execute the following command to apply changes:
1873+
Run the following command to apply the changes:
18761874
<div class="notranslate">
18771875
18781876
```
18791877
cagefsctl --force-update
18801878
```
18811879
</div>
18821880
1883-
Please do not edit <span class="notranslate">`/etc/cagefs/black.list`</span> file because it is replaced during the update of CageFS package.
1881+
:::warning Important
1882+
Do not edit the <span class="notranslate">`/etc/cagefs/black.list`</span> file directly, as it will be overwritten during CageFS package updates.
1883+
:::
18841884
18851885
#### Excluding users
18861886

0 commit comments

Comments
 (0)