1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-04 02:28:34 +00:00
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 revert logo colour to #00dd00 (per @TW) 2017-08-16 17:50:59 +02:00
_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
authors.rst
book.rst
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
development.rst require python >= 3.9, fixes 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 2020-10-31 22:04:44 +01:00
index.rst
installation.rst docs: update link to ubuntu packages, fixes 2022-03-26 18:06:08 +01:00
internals.rst
introduction.rst
Makefile fix homepage URL in all remaining places 2015-10-09 15:54:04 -04:00
man_intro.rst
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