borg/docs
Jonathan Rascher da07c36d6b
(docs) Recommend umask for passphrase file perms
The previous sample for creating a ~/.borg-passphrase file creates it first and then chmod's it to 400 permissions. That's probably fine in practice, but means there's a tiny window where the passphrase file is sitting with default permissions (likely world readable, depending on the system umask).

It seems safer to first change the umask to remove all group & world bits (0077) _before_ creating the file. To be polite and avoid messing with the user's previous umask, we do this in a subshell. (Note that umask 0077 leads to a mode of 600 rather than the previous 400, because removing the owner write bit doesn't seem to buy much since the owner can just chmod the file anyway.)
2022-04-03 00:34:33 -05:00
..
3rd_party remove docs of previously bundled blake2 code 2022-02-26 22:22:02 +01:00
_static
_templates
borg_theme/css
deployment use --numeric-ids in pull doc 2022-03-09 21:43:22 +01:00
internals add encryption-aead diagram 2022-03-26 17:05:57 +01:00
man build_man 2022-02-19 18:48:13 +01:00
misc Document retention of oldest archive, add to example and tests 2020-12-18 10:16:38 -08:00
usage docs: usage: add benchmark cpu and key change-location 2022-03-26 23:40:03 +01:00
Makefile
authors.rst
book.rst [DOCS] Move content of resources doc page to community project, #2088 2020-04-19 19:13:02 +02:00
changes.rst fixup: set release date 2022-02-19 18:45:19 +01:00
conf.py pyupgrade --py38-plus ./**/*.py 2022-02-27 20:11:56 +01:00
deployment.rst #1552 Deployment Pull Backup (#4804) 2019-11-02 13:48:32 +01:00
development.rst require python >= 3.9, fixes #6315 2022-02-27 18:46:30 +01:00
faq.rst (docs) Recommend umask for passphrase file perms 2022-04-03 00:34:33 -05:00
global.rst.inc FUSE: support pyfuse3 additionally to llfuse, fixes #5407 2020-10-31 22:04:44 +01:00
index.rst [DOCS] Move content of resources doc page to community project, #2088 2020-04-19 19:13:02 +02:00
installation.rst docs: update link to ubuntu packages, fixes #6485 2022-03-26 18:06:08 +01:00
internals.rst
introduction.rst
man_intro.rst [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-16 19:06:00 +01:00
quickstart.rst docs: security infos only applying to legacy encryption 2022-03-26 17:05:57 +01:00
quickstart_example.rst.inc quickstart docs: only borg compact frees disk space 2022-02-19 19:25:16 +01:00
support.rst docs: reflow some really long lines 2020-03-11 16:27:57 -07:00
usage.rst
usage_general.rst.inc [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-16 19:22:59 +01:00