mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-29 09:18:53 +00:00
82579cec96
Add ".. -*- coding: utf-8-with-signature -*-" to the first line of each .rst file. This tells emacs to treat the file contents as utf-8, and also to prepend a so-called utf-8 "bom" marker at the beginning of the file. This patch also prepends those markers to each of those files.
21 lines
944 B
ReStructuredText
21 lines
944 B
ReStructuredText
.. -*- coding: utf-8-with-signature -*-
|
|
|
|
==================================
|
|
Avoiding Write Collisions in Tahoe
|
|
==================================
|
|
|
|
Tahoe does not provide locking of mutable files and directories.
|
|
If there is more than one simultaneous attempt to change a mutable file
|
|
or directory, then an ``UncoordinatedWriteError`` may result.
|
|
This might, in rare cases, cause the file or directory contents to be
|
|
accidentally deleted. The user is expected to ensure that there is at
|
|
most one outstanding write or update request for a given file or
|
|
directory at a time. One convenient way to accomplish this is to make
|
|
a different file or directory for each person or process that wants to
|
|
write.
|
|
|
|
If mutable parts of a filesystem are accessed via sshfs, only a single
|
|
sshfs mount should be used. There may be data loss if mutable files or
|
|
directories are accessed via two sshfs mounts, or written both via sshfs
|
|
and from other clients.
|