Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/man/borg-mount.1
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ When mounting a repository, the top directories will be named like the
archives and the directory structure below these will be loaded on\-demand from
the repository when entering these directories, so expect some delay.
.sp
Care should be taken, as borg will backup symlinks as is,
and when having mounted an archive or repository,
it is possible to "jump" out of the mountpoint by following a symlink.
As of version 1.4.4 borg will print a warning when mounting for this reason.
.sp
Unless the \fB\-\-foreground\fP option is given the command will run in the
background until the filesystem is \fBunmounted\fP\&.
.sp
Expand Down
1 change: 1 addition & 0 deletions src/borg/fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ def pop_option(options, key, present, not_present, wanted_type, int_base=0):
user=dir_user, group=dir_group, uid=dir_uid, gid=dir_gid)
self._create_filesystem()
llfuse.init(self, mountpoint, options)
logger.warning('ATTENTION: The mounted archive may contain symlinks that point outside the archive tree. \nWhen following such symlinks you may see files within the mountpoint that are not part of the archive, \nor different versions of files than those stored in the archive.')
if not foreground:
if isinstance(self.repository_uncached, RemoteRepository):
daemonize()
Expand Down