Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2015-06-02 12:36:44 -04:00
commit 2d7e11cd3e
5 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,32 @@
### Please describe the problem.
As per [this note](https://git-annex.branchable.com/todo/sharedRepository_mode_not_supported_by_git-annex/), `sharedRepository=world` should be supported. However, it does not seem to work with git-annex 5.20150508. When copying files to the public remote, annexed objects permission are subject to the remote users umask. If it is 077, they will not be world-readable.
### What steps will reproduce the problem?
[[!format sh """
# Remotely
git init --shared=world public
cd public
git config receive.denyCurrentBranch updateInstead
git annex init
"""]]
[[!format sh """
# Locally
git init local
cd local
git annex init
git remote add public $URL:public
echo abc > file
git annex add file
git commit -m init
git annex copy --to public file
git annex sync
# If remote user has umask 077, remote object winds up readable only by him
"""]]
### What version of git-annex are you using? On what operating system?
git-annex 5.20150508
Linux 4.0.4

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="https://id.koumbit.net/anarcat"
subject="comment 1"
date="2015-06-02T12:13:19Z"
content="""
i often had to do a `chmod` in order to kick things into submission at first. did you try all that is mentionned in [[tips/shared_git_annex_directory_between_multiple_users/]]?
"""]]

View file

@ -0,0 +1,11 @@
I am trying a setup to move files from/to work using a usb key that also has a acopy of the whole repository (if I have to access it from somewhere else without git-annex).
At home there's a direct client repository, the usb is an indirect incrementalbackup and at work I have a indirect backup and a direct client repositories.
What I am trying to obtain is to have a lightweight repository at home that doesn't hold backups, and the usb key to also move the unused files from home to work as a backup.
I am trying to make the assistant do it for me and as far as I could read the assistant should periodically move unused files out of repositories of the group client to the (incremental)backup ones.
Having the assistant running on home repository and the two work repositories should do the trick? considering that the usb key doesn't spend much time connected to a computer I have no idea how the assistant would do the periodcal move.
Also i hope i got it right but files from incrementalbackup should be moved to backup repositories when they can be synchronized, but again, I don't know if a 5 minutes mount with the assistant running on the backup repository will actually do it.

View file

@ -0,0 +1,3 @@
As of late, systemd-networkd supports a network monitor via dbus under “org.freedesktop.network1“. It would be convenient if the assistant supported this.
Cf. this [commit](http://cgit.freedesktop.org/systemd/systemd/commit/?id=e331e24649213f2e093e16e4d3d64ee823dfc375).

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="eigengrau"
subject="comment 1"
date="2015-06-02T14:40:47Z"
content="""
Submitted a patch.
"""]]