mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
e1f6a34820
- 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 |
||
---|---|---|
.. | ||
break-lock.rst.inc | ||
change-passphrase.rst.inc | ||
check.rst.inc | ||
create.rst.inc | ||
debug-delete-obj.rst.inc | ||
debug-dump-archive-items.rst.inc | ||
debug-get-obj.rst.inc | ||
debug-put-obj.rst.inc | ||
delete.rst.inc | ||
extract.rst.inc | ||
help.rst.inc | ||
info.rst.inc | ||
init.rst.inc | ||
list.rst.inc | ||
migrate-to-repokey.rst.inc | ||
mount.rst.inc | ||
prune.rst.inc | ||
rename.rst.inc | ||
serve.rst.inc | ||
upgrade.rst.inc |