Fossil SCM

Add a reference to the chroot document also in the standalone server documentation.

andybradford 2026-03-21 16:15 trunk
Commit e40bdbff497c1359758568856f7dc9a1ed65ebd09dd00c35cbbcb4f74d1e56c8
1 file changed +5
--- www/server/any/none.md
+++ www/server/any/none.md
@@ -37,10 +37,15 @@
3737
“`server`” can currently be as short as “`ser`”.
3838
3939
You can serve a directory containing multiple `*.fossil` files like so:
4040
4141
$ fossil server --port 9000 --repolist /path/to/repo/dir
42
+
43
+As a security precaution, when the “`server`” or
44
+“`ui`” commands are run as `root` Fossil will drop into
45
+a [chroot](../../chroot.md) with the directory where the repository is located
46
+as the new root of the filesystem.
4247
4348
There is an [example script](/file/tools/fslsrv) in the Fossil
4449
distribution that wraps `fossil server` to produce more complicated
4550
effects. Feel free to take it, study it, and modify it to suit your
4651
local needs.
4752
--- www/server/any/none.md
+++ www/server/any/none.md
@@ -37,10 +37,15 @@
37 “`server`” can currently be as short as “`ser`”.
38
39 You can serve a directory containing multiple `*.fossil` files like so:
40
41 $ fossil server --port 9000 --repolist /path/to/repo/dir
 
 
 
 
 
42
43 There is an [example script](/file/tools/fslsrv) in the Fossil
44 distribution that wraps `fossil server` to produce more complicated
45 effects. Feel free to take it, study it, and modify it to suit your
46 local needs.
47
--- www/server/any/none.md
+++ www/server/any/none.md
@@ -37,10 +37,15 @@
37 “`server`” can currently be as short as “`ser`”.
38
39 You can serve a directory containing multiple `*.fossil` files like so:
40
41 $ fossil server --port 9000 --repolist /path/to/repo/dir
42
43 As a security precaution, when the “`server`” or
44 “`ui`” commands are run as `root` Fossil will drop into
45 a [chroot](../../chroot.md) with the directory where the repository is located
46 as the new root of the filesystem.
47
48 There is an [example script](/file/tools/fslsrv) in the Fossil
49 distribution that wraps `fossil server` to produce more complicated
50 effects. Feel free to take it, study it, and modify it to suit your
51 local needs.
52

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button