also sprach martin f krafft <madd...@debian.org> [2013-11-19 11:11 +0100]:
> At some point, git-annex get creates a file. Where does it do that
> prior to moving?

strace told me about .git/annex/tmp:

  % ls -ld .git/annex/tmp
  drwx--S--- 2 madduck pm 4096 Nov 19 11:14 .git/annex/tmp

so it has g+s, and if I create a file therein, the group is
inherited:

  % touch test && ls -l test
  -rw------- 1 madduck pm    0 Nov 19 11:15 test

It seems thus that git-annex creates the temporary file in some
other way that causes the group not to be inherited (and umask to be
honoured, rather than core.sharedRepository).

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"security here. yes, ma'am. yes. groucho glasses. yes, we're on it.
 c'mon, guys. somebody gave an aardvark a nose-cut: somebody who
 can't deal with deconstructionist humor. code blue."
                      -- http://azure.humbug.org.au/~aj/armadillos.txt

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to