summaryrefslogtreecommitdiffstats
path: root/AUTHORS
diff options
context:
space:
mode:
authorDaniel Reichelt <hacking@nachtgeist.net>2016-03-17 01:40:17 +0100
committerDaniel Reichelt <hacking@nachtgeist.net>2016-03-17 01:40:17 +0100
commite1f6a3482065ccccaad36b83e19a8ed1dabceaef (patch)
treeb546018ad4204c656d359910a5a1241e1303efc6 /AUTHORS
parentf0cb6379b7c205df093c076334ccbaddf19ea880 (diff)
provide wrapper for borg mount, fixes #743
- add archiver.main_mount() - provide borgfs behaviour when the monolithic binary is called via a symlink called borgfs - docs: update usage of mount subcommand, provide examples for borgfs and add symlink creation to standalone binary installation - run build_usage - add entry point in setup.py - patch helpers.py:get_keys_dir() to allow mounting fstab entries with "user" option set Without this, setuid() called at some point by mount changes the HOME environment variable to '/root' and os.expanduser('~') would return '/root' as well, thus the mount would fail with PermissionError: [Errno 13] Permission denied: '/root/.config' After setuid(), the HOME variable stays intact, so we still can explicitly query USER's home. Also, os.path.expanduser() behaves differently for '~' and '~someuser' as parameters: when called with an explicit username, the possibly set environment variable HOME is no longer respected. So we have to check if it is set and only expand the user's home directory if HOME is unset. - add myself to AUTHORS
Diffstat (limited to 'AUTHORS')
-rw-r--r--AUTHORS1
1 files changed, 1 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 88a111641..f0a38701c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -8,6 +8,7 @@ Borg Contributors ("The Borg Collective")
- Michael Hanselmann <public@hansmi.ch>
- Teemu Toivanen <public@profnetti.fi>
- Marian Beermann <public@enkore.de>
+- Daniel Reichelt <hacking@nachtgeist.net>
Borg is a fork of Attic.