Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
de58dce116
2 changed files with 51 additions and 0 deletions
|
@ -0,0 +1,43 @@
|
|||
### Please describe the problem.
|
||||
|
||||
ATM I am chasing a problem that somehow one key "mutated" although I do not remember doing anything malicious, file seems to be also not writable (itself).
|
||||
So I decided to fsck, and only spotted a problem when some warnings started to appear that I am not the owner of the (key)file. So I looked inside and found
|
||||
that all key dirs are writeable BUT annex complains only about the ones where it can't change permissions since they don't belong to me
|
||||
|
||||
|
||||
### What version of git-annex are you using? On what operating system?
|
||||
|
||||
6.20170815+gitg22da64d0f-1~ndall+1
|
||||
|
||||
### Please provide any additional information below.
|
||||
|
||||
[[!format sh """
|
||||
$> for f in sub00{1,3}/anatomy/highres001.nii.gz; do ls -ld $(realpath $f | xargs dirname ); git annex fsck $f; done
|
||||
drwxrws--- 2 yoh famface 3 May 12 15:15 /data/famface/openfmri/data/.git/annex/objects/08/V3/SHA256E-s6498717--b850ac82ec9db2d399962609e9381d9c2bdf1f426012500b7005b173ea4d9102.nii.gz/
|
||||
fsck sub001/anatomy/highres001.nii.gz (checksum...) ok
|
||||
(recording state in git...)
|
||||
drwxrwsr-x 2 contematto famface 3 Jul 13 2015 /data/famface/openfmri/data/.git/annex/objects/x2/xX/SHA256E-s6592524--dccba651dc4cd104826a05a2efb6a257b39ca2d8b44d215027250221729f9434.nii.gz/
|
||||
fsck sub003/anatomy/highres001.nii.gz
|
||||
** Unable to set correct write mode for .git/annex/objects/x2/xX/SHA256E-s6592524--dccba651dc4cd104826a05a2efb6a257b39ca2d8b44d215027250221729f9434.nii.gz/SHA256E-s6592524--dccba651dc4cd104826a05a2efb6a257b39ca2d8b44d215027250221729f9434.nii.gz ; perhaps you don't own that file
|
||||
(checksum...) ok
|
||||
(recording state in git...)
|
||||
|
||||
# thought to see may be annex would complain then!?
|
||||
$> chmod a+rwx /data/famface/openfmri/data/.git/annex/objects/08/V3/SHA256E-s6498717--b850ac82ec9db2d399962609e9381d9c2bdf1f426012500b7005b173ea4d9102.nii.gz/
|
||||
|
||||
$> for f in sub00{1,3}/anatomy/highres001.nii.gz; do ls -ld $(realpath $f | xargs dirname ); git annex fsck $f; done
|
||||
drwxrwsrwx 2 yoh famface 3 May 12 15:15 /data/famface/openfmri/data/.git/annex/objects/08/V3/SHA256E-s6498717--b850ac82ec9db2d399962609e9381d9c2bdf1f426012500b7005b173ea4d9102.nii.gz/
|
||||
fsck sub001/anatomy/highres001.nii.gz (checksum...) ok
|
||||
(recording state in git...)
|
||||
drwxrwsr-x 2 contematto famface 3 Jul 13 2015 /data/famface/openfmri/data/.git/annex/objects/x2/xX/SHA256E-s6592524--dccba651dc4cd104826a05a2efb6a257b39ca2d8b44d215027250221729f9434.nii.gz/
|
||||
fsck sub003/anatomy/highres001.nii.gz
|
||||
** Unable to set correct write mode for .git/annex/objects/x2/xX/SHA256E-s6592524--dccba651dc4cd104826a05a2efb6a257b39ca2d8b44d215027250221729f9434.nii.gz/SHA256E-s6592524--dccba651dc4cd104826a05a2efb6a257b39ca2d8b44d215027250221729f9434.nii.gz ; perhaps you don't own that file
|
||||
(checksum...) ok
|
||||
(recording state in git...)
|
||||
|
||||
"""]]
|
||||
|
||||
~~btw -- the same wrong permissions on the upper hash directories, and they do not get fixed/complained about at all (that is ok)~~
|
||||
|
||||
|
||||
[[!meta author=yoh]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="yarikoptic"
|
||||
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
|
||||
subject="comment 1"
|
||||
date="2017-09-13T14:32:57Z"
|
||||
content="""
|
||||
also note, that even though I am not the owner, I should have sufficient privileges to modify (member of the group(s))!
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue