Skip to content

Commit

Permalink
Cosmetic formatting in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-sarah committed Mar 22, 2012
1 parent 5495b2a commit c5e10e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions docs/configuration.rst
Expand Up @@ -440,8 +440,9 @@ Storage Server Configuration
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
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
space available to the user account under which the storage server runs.)
call to ``statvfs(2)`` on Unix, or ``GetDiskFreeSpaceEx`` on Windows, and
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
suffix like "K" or "M" or "G", and an optional "B" or "iB" suffix. So
Expand Down
12 changes: 6 additions & 6 deletions docs/frontends/FTP-and-SFTP.rst
Expand Up @@ -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
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.

Running An Account Server (accounts.url)
Expand Down Expand Up @@ -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
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
% ssh-keygen -f private/ssh_host_rsa_key
Expand Down Expand Up @@ -224,10 +224,10 @@ writeable directory. This does not prevent the directory entry from being
unlinked or replaced.

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
path/to/file'. Note that this does not mean that arbitrary combinations of
Unix permissions are supported. If the 'w' bits are cleared on a link to a
mutable file or directory, that link will become read-only.
the Unix permissions, for example using the command ``chmod 444 path/to/file``.
Note that this does not mean that arbitrary combinations of Unix permissions
are supported. If the 'w' bits are cleared on a link to a mutable file or
directory, that link will become read-only.

If SFTP is used to write to an existing mutable file, it will publish a new
version when the file handle is closed.
Expand Down

0 comments on commit c5e10e2

Please sign in to comment.