I can confirm this problem on plain old ext3.
whenever git has to work on ecryptfs, symlinks fail.
I cannot add new symlinks, and all old ones(when I clone an existing repo) 
permanently stay in a 'modified' state.

Linux mathijs 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 
x86_64 GNU/Linux
Ubuntu 9.04

math...@mathijs:~$ mkdir gittest
math...@mathijs:~$ cd gittest/
math...@mathijs:~/gittest$ git init
Initialized empty Git repository in /home/mathijs/gittest/.git/
math...@mathijs:()~/gittest$ echo "test" > README
math...@mathijs:()~/gittest$ git add README
math...@mathijs:()~/gittest$ git commit -m 'readme'
Created initial commit bd94b7a: readme
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 README
math...@mathijs:(master)~/gittest$ ln -s README somelink
math...@mathijs:(master)~/gittest$ git status
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       somelink
nothing added to commit but untracked files present (use "git add" to track)
math...@mathijs:(master)~/gittest$ git add somelink
error: readlink("somelink"): Invalid argument
error: unable to index file somelink
fatal: adding files failed

-- 
Error reading symlinks in an ecryptfs filesystem
https://bugs.launchpad.net/bugs/380073
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to