mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-06 10:58:18 +00:00
Cosmetic formatting in docs.
This commit is contained in:
parent
5495b2aead
commit
c5e10e2261
@ -440,8 +440,9 @@ Storage Server Configuration
|
|||||||
If provided, this value defines how much disk space is reserved: the
|
If provided, this value defines how much disk space is reserved: the
|
||||||
storage server will not accept any share that causes the amount of free
|
storage server will not accept any share that causes the amount of free
|
||||||
disk space to drop below this value. (The free space is measured by a
|
disk space to drop below this value. (The free space is measured by a
|
||||||
call to statvfs(2) on Unix, or GetDiskFreeSpaceEx on Windows, and is the
|
call to ``statvfs(2)`` on Unix, or ``GetDiskFreeSpaceEx`` on Windows, and
|
||||||
space available to the user account under which the storage server runs.)
|
is the space available to the user account under which the storage server
|
||||||
|
runs.)
|
||||||
|
|
||||||
This string contains a number, with an optional case-insensitive scale
|
This string contains a number, with an optional case-insensitive scale
|
||||||
suffix like "K" or "M" or "G", and an optional "B" or "iB" suffix. So
|
suffix like "K" or "M" or "G", and an optional "B" or "iB" suffix. So
|
||||||
|
@ -71,7 +71,7 @@ The words "ssh-rsa" and "ssh-dsa" after the username are reserved to specify
|
|||||||
the public key format, so users cannot have a password equal to either of
|
the public key format, so users cannot have a password equal to either of
|
||||||
these strings.
|
these strings.
|
||||||
|
|
||||||
Now add an 'accounts.file' directive to your tahoe.cfg file, as described in
|
Now add an ``accounts.file`` directive to your ``tahoe.cfg`` file, as described in
|
||||||
the next sections.
|
the next sections.
|
||||||
|
|
||||||
Running An Account Server (accounts.url)
|
Running An Account Server (accounts.url)
|
||||||
@ -123,7 +123,7 @@ the server to only accept connections from localhost.
|
|||||||
|
|
||||||
You will use directives in the tahoe.cfg file to tell the SFTP code where to
|
You will use directives in the tahoe.cfg file to tell the SFTP code where to
|
||||||
find these keys. To create one, use the ``ssh-keygen`` tool (which comes with
|
find these keys. To create one, use the ``ssh-keygen`` tool (which comes with
|
||||||
the standard openssh client distribution)::
|
the standard OpenSSH client distribution)::
|
||||||
|
|
||||||
% cd BASEDIR
|
% cd BASEDIR
|
||||||
% ssh-keygen -f private/ssh_host_rsa_key
|
% ssh-keygen -f private/ssh_host_rsa_key
|
||||||
@ -224,10 +224,10 @@ writeable directory. This does not prevent the directory entry from being
|
|||||||
unlinked or replaced.
|
unlinked or replaced.
|
||||||
|
|
||||||
When using sshfs, the 'no-write' field can be set by clearing the 'w' bits in
|
When using sshfs, the 'no-write' field can be set by clearing the 'w' bits in
|
||||||
the Unix permissions, for example using the command 'chmod 444
|
the Unix permissions, for example using the command ``chmod 444 path/to/file``.
|
||||||
path/to/file'. Note that this does not mean that arbitrary combinations of
|
Note that this does not mean that arbitrary combinations of Unix permissions
|
||||||
Unix permissions are supported. If the 'w' bits are cleared on a link to a
|
are supported. If the 'w' bits are cleared on a link to a mutable file or
|
||||||
mutable file or directory, that link will become read-only.
|
directory, that link will become read-only.
|
||||||
|
|
||||||
If SFTP is used to write to an existing mutable file, it will publish a new
|
If SFTP is used to write to an existing mutable file, it will publish a new
|
||||||
version when the file handle is closed.
|
version when the file handle is closed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user