TW

Results 2663 comments of TW

Note: borg compact emits some stats and for that it needs the stored sizes of the repository objects. we do not have these in the chunks index usually, so listing...

Hmm, borg check could just try to work with the existing chunks index and not rebuild a new one. If borg check then runs into problems, borg check --repair would...

#8561 - borg compact only needs to rebuild the chunks index IF `--stats` is given (if repo space usage stats before/after compaction are a must-have). Without `--stats` it might be...

Using one borg repo by different uids is asking for trouble (this is a rather general issue, not limited to borg). See also: https://github.com/borgbackup/borg/issues/3403#issuecomment-348510592 If you can reproduce your other...

Well, maybe one way is to create/update the repo with the same user that is expected to be able to work with it later (like mount it). Alternatively, you can...

I reproduced the issue. I interpreted the OP badly (sorry!), it seems to be a valid issue. Added a fstab entry like in the docs (including "user" option). As a...

When it crashes (when borgfs is invoked by mount): ``` sys.argv: ['/usr/local/bin/borgfs', '/home/tw/w/borg/repo', '/home/tw/w/borg/mnt', '-o', 'rw,noexec,nosuid,nodev'] ``` This is the borgfs process environment then: ``` env LOGNAME=tw env _=/bin/mount env...

``` def get_home_dir(): """Get user's home directory while preferring a possibly set HOME environment variable """ # os.path.expanduser() behaves differently for '~' and '~someuser' as # parameters: when called with...

I must admit that it's unclear to me how to fix get_home_dir() so it works under all imaginable circumstances. Obviously, we can't rely on $HOME (== this issue). But the...

@mgrachten suid is ignored for scripts.