ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #01441
[Bug 441237] Re: tar cant archive symlinks on ecryptfs
exe-
I did this exactly, on Karmic just now. I'm still not reproducing the
bug:
kirkland@x200:~$ cd /tmp/
kirkland@x200:/tmp$ hg init testrepo
kirkland@x200:/tmp$ cd ./testrepo
kirkland@x200:/tmp/testrepo$ echo "content" > testfile
kirkland@x200:/tmp/testrepo$ ln -s testfile ./.testlink
kirkland@x200:/tmp/testrepo$ hg add
adding .testlink
adding testfile
kirkland@x200:/tmp/testrepo$ hg ci -m "commit"
No username found, using 'kirkland@x200' instead
kirkland@x200:/tmp/testrepo$ cd ~
kirkland@x200:~$ hg clone ssh://localhost//tmp/testrepo clonedrepo
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 2 changes to 2 files
updating working directory
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
kirkland@x200:~$ tar -cf - ./clonedrepo | tar -tvf -
drwxr-xr-x kirkland/kirkland 0 2009-10-14 15:02 ./clonedrepo/
-rw-r--r-- kirkland/kirkland 8 2009-10-14 15:02 ./clonedrepo/testfile
lrwxrwxrwx kirkland/kirkland 0 2009-10-14 15:02 ./clonedrepo/.testlink -> testfile
drwxr-xr-x kirkland/kirkland 0 2009-10-14 15:02 ./clonedrepo/.hg/
-rw-r--r-- kirkland/kirkland 7 2009-10-14 15:02 ./clonedrepo/.hg/undo.branch
-rw-r--r-- kirkland/kirkland 8 2009-10-14 15:02 ./clonedrepo/.hg/branch
-rw-r--r-- kirkland/kirkland 91 2009-10-14 15:02 ./clonedrepo/.hg/dirstate
-rw-r--r-- kirkland/kirkland 48 2009-10-14 15:02 ./clonedrepo/.hg/hgrc
-rw-r--r-- kirkland/kirkland 57 2009-10-14 15:02 ./clonedrepo/.hg/00changelog.i
-rw-r--r-- kirkland/kirkland 23 2009-10-14 15:02 ./clonedrepo/.hg/requires
drwxr-xr-x kirkland/kirkland 0 2009-10-14 15:02 ./clonedrepo/.hg/store/
-rw-r--r-- kirkland/kirkland 68 2009-10-14 15:02 ./clonedrepo/.hg/store/undo
-rw-r--r-- kirkland/kirkland 155 2009-10-14 15:02 ./clonedrepo/.hg/store/00manifest.i
-rw-r--r-- kirkland/kirkland 157 2009-10-14 15:02 ./clonedrepo/.hg/store/00changelog.i
-rw-r--r-- kirkland/kirkland 33 2009-10-14 15:02 ./clonedrepo/.hg/store/fncache
drwxr-xr-x kirkland/kirkland 0 2009-10-14 15:02 ./clonedrepo/.hg/store/data/
-rw-r--r-- kirkland/kirkland 73 2009-10-14 15:02 ./clonedrepo/.hg/store/data/.testlink.i
-rw-r--r-- kirkland/kirkland 73 2009-10-14 15:02 ./clonedrepo/.hg/store/data/testfile.i
-rw-r--r-- kirkland/kirkland 92 2009-10-14 15:02 ./clonedrepo/.hg/branchheads.cache
-rw-r--r-- kirkland/kirkland 0 2009-10-14 15:02 ./clonedrepo/.hg/undo.dirstate
--
tar cant archive symlinks on ecryptfs
https://bugs.launchpad.net/bugs/441237
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.
Status in “ecryptfs-utils” package in Ubuntu: Incomplete
Bug description:
Binary package hint: ecryptfs-utils
Hello! I've got a very strange problem. Symlinks doesn't want to be archived:
user@ubuntu:~$ ls -la ./weird/
total 0
drwxr-xr-x 2 user user 0 2009-10-03 12:33 .
drwxr-xr-x 35 user user 8192 2009-10-03 12:33 ..
lrwxrwxrwx 1 user user 0 2009-10-03 11:43 .bashrc -> ./.profile
-rw-r--r-- 1 user user 697 2009-10-03 11:43 .profile
user@ubuntu:~$ tar -cf - ./weird/ | tar -tvf -
drwxr-xr-x user/user 0 2009-10-03 12:33 ./weird/
lrwxrwxrwx user/user 0 2009-10-03 11:43 ./weird/.bashrc -> .\251t\b \251t\b<W
-rw-r--r-- user/user 697 2009-10-03 11:43 ./weird/.profile
I don't know what ".\251t\b \251t\b<W" mean.
Steps to reproduce(:
cd /tmp
hg init testrepo
cd ./testrepo
echo "content" > testfile
ln -s testfile ./.testlink
hg add
hg ci -m "commit"
cd ~
hg clone ssh://localhost//tmp/testrepo clonedrepo
tar -cf - ./clonedrepo | tar -tvf -
mount:
/home/user/.Private on /home/user type ecryptfs (ecryptfs_sig=6838319cfdb74235,ecryptfs_fnek_sig=6f10y2de3b0e0f6c,ecryptfs_cipher=aes,ecryptfs_key_bytes=16)
ProblemType: Bug
Architecture: i386
Date: Sat Oct 3 12:18:10 2009
DistroRelease: Ubuntu 9.10
Package: tar 1.22-1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: tar
Uname: Linux 2.6.31-11-generic i686
References