diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-07-29 15:07:47 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-07-29 15:07:47 +0800 |
| commit | 7ca96a7bce2a46c21dfce54c42b3bdc2076ffa26 (patch) | |
| tree | 6aac39e168422ad9369b31d63e11ae6e6b46f2fe /README.txt | |
| parent | c5f4c607883a41cee09bd3ea6674113ef937bfa0 (diff) | |
| download | lex-7ca96a7bce2a46c21dfce54c42b3bdc2076ffa26.tar.gz | |
Add chroot info to readme.
Diffstat (limited to 'README.txt')
| -rw-r--r-- | README.txt | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,2 +1,22 @@ +RUN: + Run with no logs: GGML_LOG_LEVEL=0 ./lex Run with error logs: GGML_LOG_LEVEL=error ./lex + +CHROOT: + +# Create the jail root +mkdir -p /var/empty/dict_jail/dev + +# Copy or move your model file into the jail +cp Qwen2.5-7B-Instruct-Q4_K_M.gguf /var/empty/dict_jail/ + +# Create necessary device nodes inside the jail +mknod -m 666 /var/empty/dict_jail/dev/null c 2 2 +mknod -m 666 /var/empty/dict_jail/dev/zero c 2 12 + +# Fix permissions so 'nobody' can read the model file +chown -R root:wheel /var/empty/dict_jail +chmod 755 /var/empty/dict_jail +chmod 644 /var/empty/dict_jail/Qwen2.5-7B-Instruct-Q4_K_M.gguf + |
