123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- AT_SETUP([extracting symlinks to a read-only dir])
- AT_KEYWORDS([extract extract07 read-only symlink chdir])
- AT_TAR_CHECK([
- AT_UNPRIVILEGED_PREREQ
- echo Prepare the directory
- mkdir dir
- genfile -f foo
- cd dir
- ln -s ../foo .
- cd ..
- chmod a-w dir
- echo Create the archive
- tar cf archive dir || exit 1
- chmod +w dir
- echo Extract
- mkdir out
- tar -C out -xvf archive
- ],
- [0],
- [Prepare the directory
- Create the archive
- Extract
- dir/
- dir/foo
- ],
- [],[],[],[ustar])
- AT_CLEANUP
|