borgbackup/docs
Jonathan Rascher 75e2efaf32 (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:59:27 -05:00
..
3rd_party Use HTTPS everywhere (mechanical edit using util from https-everywhere) 2020-12-22 22:35:10 +01:00
_static PDF version of the logo 2017-05-13 13:07:44 +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 docs: common options: don't wrap options 2017-07-26 13:57:48 +02:00
deployment Merge pull request #6087 from fantasya-pbem/1.1-maint 2021-12-12 23:01:40 +01:00
internals docs: Clarify on-disk order and size of log entry fields (#6357) 2022-02-26 17:15:56 +03:00
man build_man 2021-07-12 19:27:52 +02:00
misc add a sample logging.conf in docs/misc (#4380) 2019-03-19 18:22:32 +01:00
usage docs: FUSE "versions" view is not experimental any more 2022-01-31 21:17:57 +01:00
authors.rst fix levels in authors section 2016-11-04 21:14:59 -04:00
book.rst [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-22 16:01:28 +01:00
changes.rst update CHANGES 2022-01-29 19:07:20 +01:00
conf.py docs: do not transform --/--- to unicode dashes 2022-02-24 08:42:48 +03:00
deployment.rst [DOC] #1552 - Add a pull backup / push restore how-to 2019-11-02 10:08:38 +01:00
development.rst add link back to git-installation 2021-01-25 15:48:44 -06:00
faq.rst (docs) Recommend umask for passphrase file perms 2022-04-09 23:59:27 -05:00
global.rst.inc docs: fix sphinx warnings 2021-07-17 23:32:46 -04:00
index.rst docs: index: disable syntax highlight (bash) 2017-06-18 02:12:47 +02:00
installation.rst docs: update link to ubuntu packages, fixes #6485 2022-03-26 18:07:32 +01:00
internals.rst docs: move introduction sentence 2017-06-19 10:01:55 +02: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: fix sphinx warnings 2021-07-17 23:32:46 -04:00
quickstart.rst minor rewrite to make it less confusing (get rid of "Avoid to create a mixup") (#5490) 2022-01-23 07:01:07 +03:00
quickstart_example.rst.inc man pages: add borg(1) master/intro page 2017-02-12 15:28:59 +01:00
resources.rst Add note for software for automating backup docs 2019-05-22 11:01:39 +02:00
support.rst Improve formatting of GPG output in documentation 2018-03-05 15:15:52 +00:00
usage.rst Only modify window.location when redirecting (fixes #4133) 2019-02-21 19:20:17 -08:00
usage_general.rst.inc [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-22 16:01:28 +01:00