Fossil SCM
Add a reference to the chroot document also in the standalone server documentation.
Commit
e40bdbff497c1359758568856f7dc9a1ed65ebd09dd00c35cbbcb4f74d1e56c8
Parent
422785d5dfafc51…
1 file changed
+5
| --- www/server/any/none.md | ||
| +++ www/server/any/none.md | ||
| @@ -37,10 +37,15 @@ | ||
| 37 | 37 | “`server`” can currently be as short as “`ser`”. |
| 38 | 38 | |
| 39 | 39 | You can serve a directory containing multiple `*.fossil` files like so: |
| 40 | 40 | |
| 41 | 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. | |
| 42 | 47 | |
| 43 | 48 | There is an [example script](/file/tools/fslsrv) in the Fossil |
| 44 | 49 | distribution that wraps `fossil server` to produce more complicated |
| 45 | 50 | effects. Feel free to take it, study it, and modify it to suit your |
| 46 | 51 | local needs. |
| 47 | 52 |
| --- 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 |