Package: git-annex
Version: 3.20110707
Severity: important

git-annex fails to add files if the current user is not allowed to
modify the permissions. It fails after moving the files to the backend
and leaves the repo without a link to the content. The files are
considered unused after that.

| $ git init
| Initialized empty Git repository in /tmp/test/.git/
| $ git annex init test
| init test ok
| $ sudo cp /etc/motd .
| $ ls -l              
| total 4
| -rw-r----- 1 root root 375 17. Jul 23:07 motd
| $ git annex add motd 
| add motd failed
| git-annex:
| 
/tmp/test/.git/annex/objects/mZ/j8/WORM-s375-m1310936857--motd/WORM-s375-m1310936857--motd:
 setFileMode: permission denied (Operation not permitted)
| git-annex: 1 failed
| $ ls -l             
| total 0
| $ git annex unused
| unused . (checking for unused data...) 
|   Some annexed data is no longer used by any files in the current branch:
|     NUMBER  KEY
|     1       WORM-s375-m1310936857--motd
|   (To see where data was previously used, try: git log --stat -S'KEY')
|   
|   To remove unwanted data: git-annex dropunused NUMBER
|   
|   Please be cautious -- are you sure that another branch, or another
|   repository does not still use this data?
|   ok

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing'), (400, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-annex depends on:
ii  git [git-core]            1:1.7.2.5-1    fast, scalable, distributed revisi
ii  libc6                     2.11.2-10      Embedded GNU C Library: Shared lib
ii  libffi5                   3.0.9-3        Foreign Function Interface library
ii  libgmp10                  2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii  libpcre3                  8.12-3         Perl 5 Compatible Regular Expressi
ii  openssh-client            1:5.5p1-6      secure shell (SSH) client, for sec
ii  rsync                     3.0.7-2        fast remote file copy program (lik
ii  uuid                      1.6.2-1        the Universally Unique Identifier 

git-annex recommends no packages.

Versions of packages git-annex suggests:
pn  bup                           <none>     (no description available)
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep
pn  graphviz                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to