1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-03 18:27:01 +00:00
borg/docs
Jonathan Rascher 4b58dafd31 (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-09 23:58:45 -05:00
..
3rd_party remove blake2 docs, blake2 code not bundled any more, fixes #6371 2022-02-27 14:43:27 +01:00
_static revert logo colour to #00dd00 (per @TW) 2017-08-16 17:50:59 +02:00
_templates docs: no third level toc on command usage pages ("Description", "Examples") 2017-06-30 17:41:58 +02:00
borg_theme/css revert logo colour to #00dd00 (per @TW) 2017-08-16 17:50:59 +02:00
deployment use --numeric-ids in pull doc 2022-03-10 08:34:27 +03:00
internals docs: Clarify on-disk order and size of log entry fields (#6357) 2022-02-25 15:03:21 +03: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 build_usage 2022-02-19 18:47:47 +01:00
authors.rst fix levels in authors section 2016-11-04 21:14:59 -04:00
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 21:12:44 +01:00
deployment.rst #1552 Deployment Pull Backup (#4804) 2019-11-02 13:48:32 +01:00
development.rst require python 3.8+, fixes #5975 2021-09-16 02:21:29 +02:00
faq.rst (docs) Recommend umask for passphrase file perms 2022-04-09 23:58:45 -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:07:03 +01:00
internals.rst update docs about fixed chunker and chunker algo spec needed 2019-02-13 06:30:13 +01:00
introduction.rst fix PDF rendering structure 2016-11-04 16:01:18 -04:00
Makefile fix homepage URL in all remaining places 2015-10-09 15:54:04 -04:00
man_intro.rst [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-16 19:06:00 +01:00
quickstart.rst minor rewrite to make it less confusing (get rid of "Avoid to create a mixup") (#5490) 2022-01-22 20:21:36 +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 Only modify window.location when redirecting (fixes #4133) 2019-02-20 11:12:45 -08:00
usage_general.rst.inc [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-16 19:22:59 +01:00